|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
gen/lib/Target/AArch64/AArch64GenAsmMatcher.inc40936 Res += Candidates[i].str() + ", ";
gen/lib/Target/AMDGPU/AMDGPUGenAsmMatcher.inc80491 Res += Candidates[i].str() + ", ";
gen/lib/Target/ARM/ARMGenAsmMatcher.inc16421 Res += Candidates[i].str() + ", ";
gen/lib/Target/Mips/MipsGenAsmMatcher.inc11760 Res += Candidates[i].str() + ", ";
gen/lib/Target/PowerPC/PPCGenAsmMatcher.inc 7247 Res += Candidates[i].str() + ", ";
gen/lib/Target/SystemZ/SystemZGenAsmMatcher.inc 9283 Res += Candidates[i].str() + ", ";
include/llvm/ADT/StringExtras.h 323 S += (*Begin);
326 S += (*Begin);
337 Result += Item;
343 Result += A1;
include/llvm/IR/ModuleSummaryIndexYAML.h 89 Key += llvm::utostr(Arg);
lib/Bitcode/Reader/BitcodeReader.cpp 455 FullMsg += " (Producer: '" + ProducerIdentification + "' Reader: 'LLVM " +
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp 552 Msg += *I;
lib/CodeGen/MachineBasicBlock.cpp 271 Name += ("BB" + Twine(getNumber())).str();
lib/CodeGen/TargetLoweringObjectFileImpl.cpp 775 Name += utostr(Priority);
1626 HexString += scalarConstantToHexString(C->getAggregateElement(I));
lib/DebugInfo/CodeView/TypeRecordMapping.cpp 70 FlagLabel += (Flag.Name.str() + " (0x" + utohexstr(Flag.Value) + ")");
75 LabelWithBraces += FlagLabel + " )";
108 MemberAttrs += ", " + MethodKind;
113 MemberAttrs += ", " + MethodOptions;
245 MemberKindName +=
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp 108 ExtName += ("_" + F->getName()).str();
lib/IR/AsmWriter.cpp 3415 AttrStr += Attr.getAsString();
lib/IR/Attributes.cpp 418 Result += utostr(getValueAsInt());
427 Result += utostr(getValueAsInt());
430 Result += utostr(getValueAsInt());
451 Result += utostr(ElemSize);
454 Result += utostr(*NumElems);
467 Result += (Twine('"') + getKindAsString() + Twine('"')).str();
886 Str += I->getAsString(InAttrGrp);
lib/IR/AutoUpgrade.cpp 4023 NewValue += S.str();
lib/IR/Function.cpp 591 Result += "p" + utostr(PTyp->getAddressSpace()) +
594 Result += "a" + utostr(ATyp->getNumElements()) +
603 Result += getMangledTypeStr(Elem);
608 Result += "f_" + getMangledTypeStr(FT->getReturnType());
610 Result += getMangledTypeStr(FT->getParamType(i));
618 Result += "v" + utostr(VTy->getVectorNumElements()) +
633 Result += "i" + utostr(cast<IntegerType>(Ty)->getBitWidth());
651 Result += "." + getMangledTypeStr(Ty);
lib/IR/ModuleSummaryIndex.cpp 239 A += Value.str();
251 Comments += Comment.str();
261 Ret += A + ",";
264 Ret += Comments;
332 Label += std::string(" (") + Attrs + ")";
lib/LTO/LTO.cpp 1384 Filename += ".thin." + llvm::utostr(Count) + ".yaml";
lib/LTO/LTOBackend.cpp 82 PathPrefix += utostr(Task) + ".";
lib/LTO/LTOCodeGenerator.cpp 235 ErrMsg += Path.str() + ": " + EC.message();
246 ErrMsg += Path.str() + ": " + Out.os().error().message();
lib/ProfileData/GCOV.cpp 690 CoveragePath += mangleCoveragePath(Filename, Options.PreservePaths);
696 CoveragePath += "##" + Result.digest().str().str();
lib/Support/FileCheck.cpp 579 RegExStr += Regex::escape(PatternStr.substr(0, FixedMatchEnd));
601 RegExStr += RS.str();
609 RegExStr += Backref;
1316 Message += formatv(" ({0} out of {1})", MatchedCount, Pat.getCount()).str();
1379 Message += formatv(" ({0} out of {1})", MatchedCount, Pat.getCount()).str();
1795 CmdlineDefsDiag += (DefPrefix + CmdlineDef + " (parsed as: [[").str();
1800 CmdlineDefsDiag += (SubstitutionStr + Twine("]])\n")).str();
1802 CmdlineDefsDiag += DefPrefix;
1805 CmdlineDefsDiag += (CmdlineDef + "\n").str();
lib/Support/Unix/Host.inc 41 TargetTripleString += getOSVersion();
50 TargetTripleString += getOSVersion();
lib/Support/VirtualFileSystem.cpp 657 Result += Entry.second->toString(Indent + 2);
lib/Support/YAMLParser.cpp 717 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr;
743 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr;
745 EscapedInput += "\\u" + std::string(4 - HexStr.size(), '0') + HexStr;
747 EscapedInput += "\\U" + std::string(8 - HexStr.size(), '0') + HexStr;
lib/TableGen/Record.cpp 212 Str += R->getNameInitAsString();
416 Result += Bit->getAsString();
675 Result += Element->getAsString();
1702 Result += Arg->getAsString();
1865 Result += getCond(i)->getAsString() + ": ";
1866 Result += getVal(i)->getAsString();
1970 Result += ":" + ValName->getAsUnquotedString();
1972 Result += " " + getArg(0)->getAsString();
1973 if (getArgName(0)) Result += ":$" + getArgName(0)->getAsUnquotedString();
1975 Result += ", " + getArg(i)->getAsString();
1976 if (getArgName(i)) Result += ":$" + getArgName(i)->getAsUnquotedString();
lib/TableGen/TGParser.cpp 1799 Val += Lex.getCurStrVal();
lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp 1317 Suffix += itostr(NumLanes) + LaneKind;
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp 559 Comment += " ; " + HexLines[i] + "\n";
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp 306 Ret += (StringRef("+") + KV.Key + ",").str();
308 Ret += (StringRef("-") + KV.Key + ",").str();
lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp 45 Diagnostic += " (expected an integer in the range " + std::to_string(Min) +
63 Diagnostic += " (expected an integer in the range 0 to " +
lib/Target/BPF/BPFAbstractMemberAccess.cpp 797 AccessKey += std::to_string(FirstIndex);
822 AccessKey += ":" + std::to_string(AccessIndex);
lib/Target/Mips/Mips16HardFloat.cpp 193 AsmText += MI + "$$4, $$f12\n";
197 AsmText += MI + "$$4, $$f12\n";
198 AsmText += MI + "$$5, $$f14\n";
202 AsmText += MI + "$$4, $$f12\n";
204 AsmText += MI + "$$6, $$f14\n";
205 AsmText += MI + "$$7, $$f15\n";
207 AsmText += MI + "$$7, $$f14\n";
208 AsmText += MI + "$$6, $$f15\n";
214 AsmText += MI + "$$4, $$f12\n";
215 AsmText += MI + "$$5, $$f13\n";
217 AsmText += MI + "$$5, $$f12\n";
218 AsmText += MI + "$$4, $$f13\n";
224 AsmText += MI + "$$4, $$f12\n";
225 AsmText += MI + "$$5, $$f13\n";
226 AsmText += MI + "$$6, $$f14\n";
227 AsmText += MI + "$$7, $$f15\n";
229 AsmText += MI + "$$5, $$f12\n";
230 AsmText += MI + "$$4, $$f13\n";
231 AsmText += MI + "$$7, $$f14\n";
232 AsmText += MI + "$$6, $$f15\n";
238 AsmText += MI + "$$4, $$f12\n";
239 AsmText += MI + "$$5, $$f13\n";
241 AsmText += MI + "$$5, $$f12\n";
242 AsmText += MI + "$$4, $$f13\n";
244 AsmText += MI + "$$6, $$f14\n";
285 AsmText += swapFPIntParams(PV, M, LE, true);
288 AsmText += "jal " + Name + "\n";
290 AsmText += "lui $$25, %hi(" + Name + ")\n";
291 AsmText += "addiu $$25, $$25, %lo(" + Name + ")\n";
471 AsmText += ".reloc 0, R_MIPS_NONE, " + Name + "\n";
472 AsmText += "la $$25, " + LocalName + "\n";
474 AsmText += "la $$25, " + Name + "\n";
475 AsmText += swapFPIntParams(PV, M, LE, false);
477 AsmText += LocalName + " = " + Name + "\n";
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp 334 S += typeListToString(Sig->Params);
336 S += typeListToString(Sig->Returns);
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp 225 Ret += (StringRef("+") + KV.Key + ",").str();
lib/TextAPI/MachO/Symbol.cpp 32 Result += Name.str();
35 Result += "(ObjC Class) " + Name.str();
38 Result += "(ObjC Class EH) " + Name.str();
41 Result += "(ObjC IVar) " + Name.str();
lib/Transforms/IPO/ArgumentPromotion.cpp 457 NewName += "." + utostr(Operands[i]);
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp 1599 TName += utostr(FT->getNumParams() - n);
lib/Transforms/Instrumentation/GCOVProfiling.cpp 752 EdgeDestinations += Func.getEdgeDestinations();
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 1466 ThunkName += ("." + P.first->getName()).str();
lib/Transforms/Instrumentation/Instrumentation.cpp 91 Name += ModuleId;
lib/Transforms/Utils/ASanStackFrameLayout.cpp 107 Name += to_string(Var.Line);
lib/Transforms/Utils/InlineFunction.cpp 960 Name += utostr(i);
tools/bugpoint/BugDriver.cpp 73 Result += Passes[i];
tools/bugpoint/ExtractFunction.cpp 409 uniqueFN += Temp->TmpName;
tools/clang/lib/ARCMigrate/ObjCMT.cpp 489 PropertyString += PropertyNameString;
549 PropertyString += TypeString;
552 PropertyString += PropertyNameString;
684 ClassString += ConformingProtocols[i]->getNameAsString();
693 ClassString += ConformingProtocols[i]->getNameAsString();
782 ClassString += TypeString;
tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp 90 err += E->getSelector().getAsString() + "' message on "
99 err += E->getSelector().getAsString() + "' message on "
tools/clang/lib/ARCMigrate/TransUnbridgedCasts.cpp 364 err += E->getType().getAsString(Pass.Ctx.getPrintingPolicy());
379 note += E->getSubExpr()->getType().getAsString(Pass.Ctx.getPrintingPolicy());
tools/clang/lib/AST/ASTContext.cpp 6348 S += charUnitsToString(ParmOffset);
6369 S += charUnitsToString(ParmOffset);
6393 S += charUnitsToString(ParmOffset);
6408 S += charUnitsToString(ParmOffset);
6460 S += charUnitsToString(ParmOffset);
6462 S += charUnitsToString(PtrSize);
6480 S += charUnitsToString(ParmOffset);
6581 S += PD->getGetterName().getAsString();
6586 S += PD->getSetterName().getAsString();
6592 S += OID->getNameAsString();
6787 S += llvm::utostr(Offset);
6796 S += llvm::utostr(FD->getBitWidthValue(*Ctx));
6922 S += llvm::utostr(CAT->getSize().getZExtValue());
6967 S += Field->getNameAsString();
7206 S += recname;
7257 S += field->getNameAsString();
tools/clang/lib/AST/DeclPrinter.cpp 626 Proto += D->getQualifiedNameAsString();
634 Proto += D->getNameInfo().getAsString();
673 Proto += D->getParamDecl(i)->getNameAsString();
708 Proto += FT->getExceptionType(I).getAsString(SubPolicy);
719 Proto += EOut.str();
tools/clang/lib/AST/JSONNodeDumper.cpp 730 Name += UD->getNameAsString();
tools/clang/lib/AST/Stmt.cpp 721 AsmString += Piece.getString();
723 AsmString += '$' + llvm::utostr(Piece.getOperandNo());
725 AsmString += "${" + llvm::utostr(Piece.getOperandNo()) + ':' +
tools/clang/lib/ASTMatchers/Dynamic/VariantValue.cpp 195 Inner += Args[i].getTypeAsString();
tools/clang/lib/Basic/Warnings.cpp 39 << (Flavor == diag::Flavor::WarningOrError ? 0 : 1) << (Prefix.str() += Opt)
40 << !Suggestion.empty() << (Prefix.str() += Suggestion);
tools/clang/lib/CodeGen/CGAtomic.cpp 1150 LibCallName += "_" + llvm::utostr(Size);
tools/clang/lib/CodeGen/CGBlocks.cpp 124 Name += llvm::to_string(BlockInfo.BlockSize.getQuantity()) + "_";
131 Name += llvm::to_string(BlockInfo.BlockAlign.getQuantity()) + "_";
138 Name += llvm::to_string(E.Capture->getOffset().getQuantity());
145 Name += getBlockCaptureStr(E, CaptureStrKind::Merged,
151 Name += getBlockCaptureStr(E, CaptureStrKind::CopyHelper,
153 Name += getBlockCaptureStr(E, CaptureStrKind::DisposeHelper,
165 Name += "e" + llvm::to_string(TypeAtEncoding.size()) + "_" + TypeAtEncoding;
166 Name += "l" + CGM.getObjCRuntime().getRCBlockLayoutStr(CGM, BlockInfo);
1841 Str += llvm::to_string(TyStr.size()) + TyStr.c_str();
1895 Str += llvm::to_string(FuncStr.size()) + "_" + FuncStr;
1918 Name += llvm::to_string(BlockAlignment.getQuantity()) + "_";
1921 Name += llvm::to_string(E.Capture->getOffset().getQuantity());
1922 Name += getBlockCaptureStr(E, StrKind, BlockAlignment, CGM);
tools/clang/lib/CodeGen/CGDecl.cpp 214 ContextName += "." + D.getNameAsString();
tools/clang/lib/CodeGen/CGExpr.cpp 2770 Name += "_" + Twine(Discriminator + 1).str();
2976 FnName += "_v" + llvm::utostr(CheckInfo.Version);
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp 155 S += llvm::to_string(Offset.getQuantity());
tools/clang/lib/CodeGen/CGObjCGNU.cpp 242 NameAndAttributes += TypeStr;
244 NameAndAttributes += PD->getNameAsString();
tools/clang/lib/CodeGen/CGObjCMac.cpp 2895 Str += llvm::to_string(R.block_var_bytepos.getQuantity());
2896 Str += "l" + llvm::to_string(R.block_var_size.getQuantity());
3601 Name += ClassName;
tools/clang/lib/CodeGen/CGStmt.cpp 1741 Result += Target.convertConstraint(Constraint);
1772 Result += llvm::utostr(Index);
2041 Constraints += "=" + OutputConstraint;
2093 Constraints += OutputConstraint;
2115 InOutConstraints += llvm::utostr(i);
2117 InOutConstraints += OutputConstraint;
2204 Constraints += InputConstraint;
2212 Constraints += InOutConstraints;
2259 Constraints += MachineClobbers;
tools/clang/lib/Driver/ToolChains/Arch/RISCV.cpp 80 Error += "." + Minor;
tools/clang/lib/Driver/ToolChains/HIP.cpp 244 Prefix += "-" + SubArchName;
tools/clang/lib/Format/Format.cpp 1875 NewCode += Code.substr(LastPos);
1878 NewCode += Code.substr(LastPos, Pos - LastPos) + "\n";
tools/clang/lib/Format/NamespaceEndCommentsFixer.cpp 230 NamespaceName += AllNamespaceNames;
tools/clang/lib/Frontend/Rewrite/RewriteMacros.cpp 197 Expansion += ' ' + PP.getSpelling(PPTok);
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 891 S += TypeString;
896 S += IvarOffsetName;
900 S += D->getNameAsString();
976 Getr += ParamStr;
994 Getr += "return " + getIvarAccessString(OID);
1035 Setr += getIvarAccessString(OID) + " = ";
1045 typedefString += ForwardDecl->getNameAsString();
1048 typedefString += ForwardDecl->getNameAsString();
1051 typedefString += ForwardDecl->getNameAsString();
1054 typedefString += ForwardDecl->getNameAsString();
1076 typedefString += ForwardDecl->getNameAsString();
1095 typedefString += ForwardDecl->getNameAsString();
1219 ResultStr +=
1224 ResultStr += T.getAsString(Context->getPrintingPolicy());
1244 NameStr += IDecl->getNameAsString();
1249 NameStr += CID->getNameAsString();
1259 NameStr += selString;
1263 ResultStr += NameStr;
1277 ResultStr += IDecl->getNameAsString();
1281 ResultStr += Context->getObjCClassType().getAsString(
1285 ResultStr += Context->getObjCSelType().getAsString(Context->getPrintingPolicy());
1293 ResultStr += PDecl->getNameAsString();
1300 ResultStr += Name;
1317 ResultStr += ParamStr;
1610 buf += utostr(ObjCBcLabelNo.back());
1622 LineString += utostr(PLoc.getLine());
1624 LineString += Lexer::Stringify(PLoc.getFilename());
1640 buf += utostr(ObjCBcLabelNo.back());
1705 buf += elementTypeAsString;
1781 buf += elementTypeAsString;
1799 buf += utostr(ObjCBcLabelNo.back());
1808 buf += elementTypeAsString;
1811 buf += utostr(ObjCBcLabelNo.back());
1817 buf += elementTypeAsString;
1975 Result += "catch (_objc_exc_"; Result += IDecl->getNameAsString();
1976 Result += " *_"; Result += catchDecl->getNameAsString();
1982 Result += IDecl->getNameAsString();
1983 Result += " *"; Result += catchDecl->getNameAsString();
1984 Result += " = ("; Result += IDecl->getNameAsString(); Result += "*)";
1985 Result += "_"; Result += catchDecl->getNameAsString();
2288 TypeAsString += " " + Name + " = ";
2335 Str += TypeString;
2364 Str += VD->getNameAsString();
2565 S += tmpName;
2567 S += utostr(NumObjCStringLiterals++);
2569 Preamble += "static __NSConstantStringImpl " + S;
2576 Preamble += prettyBuf.str();
2578 Preamble += utostr(Exp->getString()->getByteLength()) + "};\n";
3054 LineString += utostr(PLoc.getLine());
3056 LineString += Lexer::Stringify(PLoc.getFilename());
3097 std::string name = "__Stret"; name += utostr(stretCount);
3101 str += "struct "; str += name;
3103 str += name;
3106 std::string ArgName = "arg"; ArgName += utostr(i);
3108 str += ", "; str += ArgName;
3112 std::string ArgName = "arg"; ArgName += utostr(i);
3115 str += ", "; str += ArgName;
3120 str += returnType.getAsString(Context->getPrintingPolicy()); str += ");\n";
3124 str += "\t s = (("; str += castType.getAsString(Context->getPrintingPolicy());
3127 str += ", arg"; str += utostr(i);
3131 str += ", arg"; str += utostr(i);
3139 str += "\t s = (("; str += castType.getAsString(Context->getPrintingPolicy());
3142 str += ", arg"; str += utostr(i);
3146 str += ", arg"; str += utostr(i);
3151 str += "\t"; str += returnType.getAsString(Context->getPrintingPolicy());
3676 Result += Val.toString(10);
3700 Result += Name;
3702 Result += " : "; Result += utostr(fieldDecl->getBitWidthValue(*Context));
3710 Result += utostr(Dim.getZExtValue());
3841 Result += utostr(GroupNo);
3853 Result += utostr(GroupNo);
3919 Result += CDecl->getNameAsString();
3923 Result += "\tstruct "; Result += RCDecl->getNameAsString();
3924 Result += "_IMPL "; Result += RCDecl->getNameAsString();
4027 ResultStr += "__Block_byref_" + Name +
4047 S += "static " + RT.getAsString(Context->getPrintingPolicy()) + " __" +
4055 S += "(" + StructRef + " *__cself)";
4057 S += "(" + StructRef + " *__cself)";
4063 S += StructRef + " *__cself, ";
4072 S += ParamStr;
4092 S += Name + " = __cself->" + (*I)->getNameAsString() + "; // bound by ref\n";
4113 S += "__cself->" + (*I)->getNameAsString() + "; // bound by copy\n";
4121 S += Name + " = __cself->" +
4140 S += "_block_copy_" + utostr(i);
4141 S += "(" + StructRef;
4142 S += "*dst, " + StructRef;
4146 S += VD->getNameAsString();
4148 S += VD->getNameAsString();
4150 S += ", " + utostr(BLOCK_FIELD_IS_BYREF) + "/*BLOCK_FIELD_IS_BYREF*/);";
4152 S += ", " + utostr(BLOCK_FIELD_IS_BLOCK) + "/*BLOCK_FIELD_IS_BLOCK*/);";
4154 S += ", " + utostr(BLOCK_FIELD_IS_OBJECT) + "/*BLOCK_FIELD_IS_OBJECT*/);";
4160 S += "_block_dispose_" + utostr(i);
4161 S += "(" + StructRef;
4165 S += VD->getNameAsString();
4167 S += ", " + utostr(BLOCK_FIELD_IS_BYREF) + "/*BLOCK_FIELD_IS_BYREF*/);";
4169 S += ", " + utostr(BLOCK_FIELD_IS_BLOCK) + "/*BLOCK_FIELD_IS_BLOCK*/);";
4171 S += ", " + utostr(BLOCK_FIELD_IS_OBJECT) + "/*BLOCK_FIELD_IS_OBJECT*/);";
4183 S += " struct " + Desc;
4187 Constructor += "struct " + Desc; // Descriptor pointer.
4209 Constructor += ", void *" + ArgName;
4216 Constructor += ", " + ArgName;
4218 S += FieldName + ";\n";
4232 Constructor += ", " + ArgName;
4234 S += FieldName + "; // by ref\n";
4250 Constructor += Name + "((struct __block_impl *)_" + Name + ")";
4252 Constructor += Name + "(_" + Name + ")";
4264 Constructor += Name + "(_" + Name + "->__forwarding)";
4287 S += Constructor;
4302 S += ImplTag; S += "*, struct ";
4303 S += ImplTag; S += "*);\n";
4306 S += ImplTag; S += "*);\n";
4310 S += DescTag + "_DATA = { 0, sizeof(struct ";
4311 S += ImplTag + ")";
4313 S += ", __" + FunName.str() + "_block_copy_" + utostr(i);
4314 S += ", __" + FunName.str() + "_block_dispose_" + utostr(i);
4328 SC += GlobalVarDecl->getNameAsString();
4409 Tag += utostr(Blocks.size()-1);
4411 globalBuf += Tag; globalBuf += " ";
4417 globalBuf += constructorExprBuf.str();
4442 Name += "__" + MD->getSelector().getAsString();
4761 Str += TypeString;
4963 S += utostr(flag);
4975 S += utostr(offset);
4977 S += utostr(offset);
4979 S += utostr(flag);
4983 S += utostr(flag);
4986 S += utostr(offset);
4988 S += utostr(flag);
5046 ByrefType += " " + Name + ";\n";
5072 Preamble += HF;
5095 ForwardingCastType += ByrefType + " *)";
5096 ByrefType += " " + Name + " = {(void*)";
5097 ByrefType += utostr(isa);
5098 ByrefType += "," + ForwardingCastType + "&" + Name + ", ";
5099 ByrefType += utostr(flags);
5106 ByrefType += utostr(flag);
5108 ByrefType += utostr(flag);
5269 Tag += FuncName + "_block_impl_" + BlockNumber;
5814 Result += PDecl->getNameAsString();
5816 Result += "_OBJC_PROTOCOL_"; Result += PDecl->getNameAsString();
6059 Result += ivar->getContainingInterface()->getNameAsString();
6066 Result += ivar->getNameAsString();
6255 Result += utostr(super_protocol_count); Result += "];\n";
6265 Result += utostr(method_count); Result += "];\n";
6275 Result += utostr(property_count); Result += "];\n";
6285 Result += utostr(ivar_count); Result += "];\n";
6299 Result += "\t"; Result += utostr(SuperProtocols.size()); Result += ",\n";
6303 Result += SuperPD->getNameAsString();
6325 Result += "\t"; Result += utostr(Methods.size()); Result += ",\n";
6332 Result += (MD)->getSelector().getAsString(); Result += "\"";
6335 Result += "\""; Result += MethodTypeString; Result += "\"";
6341 Result += RewriteObj.MethodInternalNames[MD];
6365 Result += "\t"; Result += utostr(Properties.size()); Result += ",\n";
6377 Result += "\""; Result += QuotePropertyTypeString; Result += "\"";
6415 Result += llvm::utostr(flags); Result += ", ";
6416 Result += InstanceStart; Result += ", ";
6417 Result += InstanceSize; Result += ", \n";
6492 Result += CDecl->getNameAsString();
6507 Result += SuperClass->getNameAsString();
6519 Result += RootClass->getNameAsString();
6525 Result += VarName; Result += CDecl->getNameAsString();
6531 Result += RootClass->getNameAsString();
6534 Result += CDecl->getSuperClass()->getNameAsString();
6539 Result += CDecl->getNameAsString();
6541 Result += "0, // &OBJC_CLASS_$_"; Result += CDecl->getNameAsString();
6547 Result += CDecl->getNameAsString();
6551 Result += CDecl->getSuperClass()->getNameAsString();
6563 Result += CDecl->getNameAsString();
6575 Result += CDecl->getNameAsString();
6577 Result += "\tOBJC_METACLASS_$_"; Result += CDecl->getNameAsString();
6579 Result += RootClass->getNameAsString(); Result += ";\n";
6581 Result += "\tOBJC_METACLASS_$_"; Result += CDecl->getNameAsString();
6588 Result += SuperClass->getNameAsString(); Result += ";\n";
6590 Result += "\tOBJC_METACLASS_$_"; Result += CDecl->getNameAsString();
6593 Result += "\tOBJC_CLASS_$_"; Result += CDecl->getNameAsString();
6595 Result += CDecl->getNameAsString(); Result += ";\n";
6598 Result += "\tOBJC_CLASS_$_"; Result += CDecl->getNameAsString();
6600 Result += SuperClass->getNameAsString(); Result += ";\n";
6603 Result += "\tOBJC_CLASS_$_"; Result += CDecl->getNameAsString();
6678 Result += ClassDecl->getNameAsString();
6683 Result += ClassDecl->getNameAsString();
6708 Result += "\t\""; Result += QuoteMethodTypeString; Result += "\"";
6784 Result += CDecl->getNameAsString();
6787 Result += "\t"; Result += utostr(Ivars.size()); Result += ",\n";
6816 Result += "\""; Result += QuoteIvarTypeString; Result += "\", ";
6822 Result += llvm::utostr(Align); Result += ", ";
6824 Result += llvm::utostr(Size.getQuantity());
6917 Result += PDecl->getNameAsString();
6920 Result += "\t\""; Result += PDecl->getNameAsString(); Result += "\",\n";
6923 Result += PDecl->getNameAsString(); Result += ",\n";
6929 Result += PDecl->getNameAsString(); Result += ",\n";
6936 Result += PDecl->getNameAsString(); Result += ",\n";
6943 Result += PDecl->getNameAsString(); Result += ",\n";
6950 Result += PDecl->getNameAsString(); Result += ",\n";
6957 Result += PDecl->getNameAsString(); Result += ",\n";
6967 Result += PDecl->getNameAsString();
6976 Result += "_OBJC_LABEL_PROTOCOL_$_"; Result += PDecl->getNameAsString();
6977 Result += " = &_OBJC_PROTOCOL_"; Result += PDecl->getNameAsString();
7123 InstanceSize += CDecl->getNameAsString();
7190 Result += llvm::utostr(ClsDefCount); Result += "]";
7196 Result += ClassImplementation[i]->getNameAsString();
7206 Result += "\t&OBJC_CLASS_$_"; Result += DefinedNonLazyClasses[i]->getNameAsString();
7217 Result += llvm::utostr(CatDefCount); Result += "]";
7223 Result +=
7226 Result += CategoryImplementation[i]->getNameAsString();
7238 Result +=
7241 Result += DefinedNonLazyCategories[i]->getNameAsString();
7269 FullCategoryName += CDecl->getNameAsString();
7403 Result += utostr(NumMethods);
7412 Result += "{\n\t0, " + utostr(NumMethods) + "\n";
7419 Result += MethodTypeString;
7429 Result += MethodTypeString;
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp 823 Getr += ParamStr;
841 Getr += "return " + getIvarAccessString(OID);
881 Setr += getIvarAccessString(OID) + " = ";
891 typedefString += ForwardDecl->getNameAsString();
894 typedefString += ForwardDecl->getNameAsString();
897 typedefString += ForwardDecl->getNameAsString();
919 typedefString += ForwardDecl->getNameAsString();
934 typedefString += ForwardDecl->getNameAsString();
1051 ResultStr +=
1056 ResultStr += T.getAsString(Context->getPrintingPolicy());
1076 NameStr += IDecl->getNameAsString();
1081 NameStr += CID->getNameAsString();
1091 NameStr += selString;
1095 ResultStr += NameStr;
1109 ResultStr += IDecl->getNameAsString();
1113 ResultStr += Context->getObjCClassType().getAsString(
1117 ResultStr += Context->getObjCSelType().getAsString(Context->getPrintingPolicy());
1125 ResultStr += PDecl->getNameAsString();
1132 ResultStr += Name;
1149 ResultStr += ParamStr;
1202 ResultStr += ClassDecl->getNameAsString();
1205 ResultStr += ClassDecl->getNameAsString();
1208 ResultStr += ClassDecl->getNameAsString();
1417 buf += utostr(ObjCBcLabelNo.back());
1434 buf += utostr(ObjCBcLabelNo.back());
1496 buf += elementTypeAsString;
1572 buf += elementTypeAsString;
1590 buf += utostr(ObjCBcLabelNo.back());
1599 buf += elementTypeAsString;
1602 buf += utostr(ObjCBcLabelNo.back());
1608 buf += elementTypeAsString;
1696 syncBuf += syncExprBuf.str();
1699 buf += syncBuf;
1775 buf += syncExitBuf;
1861 buf += IDecl->getNameAsString();
2200 TypeAsString += " " + Name + " = ";
2247 Str += TypeString;
2276 Str += VD->getNameAsString();
2490 S += tmpName;
2492 S += utostr(NumObjCStringLiterals++);
2494 Preamble += "static __NSConstantStringImpl " + S;
2501 Preamble += prettyBuf.str();
2503 Preamble += utostr(Exp->getString()->getByteLength()) + "};\n";
3113 Result += CDecl->getNameAsString();
3155 Result += RCDecl->getNameAsString();
3157 Result += RCDecl->getNameAsString();
3204 Result += RCDecl->getNameAsString();
3206 Result += RCDecl->getNameAsString();
3241 ResultStr += "__Block_byref_" + Name +
3265 S += "(" + StructRef + " *__cself)";
3267 S += "(" + StructRef + " *__cself)";
3273 S += StructRef + " *__cself, ";
3282 S += ParamStr;
3302 S += Name + " = __cself->" + (*I)->getNameAsString() + "; // bound by ref\n";
3323 S += "__cself->" + (*I)->getNameAsString() + "; // bound by copy\n";
3331 S += Name + " = __cself->" +
3350 S += "_block_copy_" + utostr(i);
3351 S += "(" + StructRef;
3352 S += "*dst, " + StructRef;
3356 S += VD->getNameAsString();
3358 S += VD->getNameAsString();
3360 S += ", " + utostr(BLOCK_FIELD_IS_BYREF) + "/*BLOCK_FIELD_IS_BYREF*/);";
3362 S += ", " + utostr(BLOCK_FIELD_IS_BLOCK) + "/*BLOCK_FIELD_IS_BLOCK*/);";
3364 S += ", " + utostr(BLOCK_FIELD_IS_OBJECT) + "/*BLOCK_FIELD_IS_OBJECT*/);";
3370 S += "_block_dispose_" + utostr(i);
3371 S += "(" + StructRef;
3375 S += VD->getNameAsString();
3377 S += ", " + utostr(BLOCK_FIELD_IS_BYREF) + "/*BLOCK_FIELD_IS_BYREF*/);";
3379 S += ", " + utostr(BLOCK_FIELD_IS_BLOCK) + "/*BLOCK_FIELD_IS_BLOCK*/);";
3381 S += ", " + utostr(BLOCK_FIELD_IS_OBJECT) + "/*BLOCK_FIELD_IS_OBJECT*/);";
3393 S += " struct " + Desc;
3397 Constructor += "struct " + Desc; // Descriptor pointer.
3419 Constructor += ", void *" + ArgName;
3426 Constructor += ", " + ArgName;
3428 S += FieldName + ";\n";
3442 Constructor += ", " + ArgName;
3444 S += FieldName + "; // by ref\n";
3460 Constructor += Name + "((struct __block_impl *)_" + Name + ")";
3462 Constructor += Name + "(_" + Name + ")";
3474 Constructor += Name + "(_" + Name + "->__forwarding)";
3497 S += Constructor;
3512 S += ImplTag; S += "*, struct ";
3513 S += ImplTag; S += "*);\n";
3516 S += ImplTag; S += "*);\n";
3520 S += DescTag + "_DATA = { 0, sizeof(struct ";
3521 S += ImplTag + ")";
3523 S += ", __" + FunName.str() + "_block_copy_" + utostr(i);
3524 S += ", __" + FunName.str() + "_block_dispose_" + utostr(i);
3541 SC += GlobalVarDecl->getNameAsString();
3629 Name += "__" + MD->getSelector().getAsString();
4117 S += utostr(flag);
4129 S += utostr(offset);
4131 S += utostr(offset);
4133 S += utostr(flag);
4137 S += utostr(flag);
4140 S += utostr(offset);
4142 S += utostr(flag);
4203 ByrefType += " " + Name + ";\n";
4243 ForwardingCastType += ByrefType + " *)";
4245 ByrefType += " " + Name + " = {(void*)";
4246 ByrefType += utostr(isa);
4247 ByrefType += "," + ForwardingCastType + "&" + Name + ", ";
4248 ByrefType += utostr(flags);
4255 ByrefType += utostr(flag);
4257 ByrefType += utostr(flag);
4276 ByrefType += " " + Name;
4278 ByrefType += utostr(isa);
4279 ByrefType += "," + ForwardingCastType + "&" + Name + ", ";
4280 ByrefType += utostr(flags);
4287 ByrefType += utostr(flag);
4289 ByrefType += utostr(flag);
5060 Result += ivar->getContainingInterface()->getNameAsString();
5064 Result += ivar->getNameAsString();
5107 Result += utostr(NumMethods);
5109 Result += PDecl->getNameAsString();
5110 Result += " __attribute__ ((used, section (\"__OBJC, __cat_inst_meth\")))= "
5121 Result += (*I)->getSelector().getAsString();
5124 Result += MethodTypeString;
5142 Result += utostr(NumMethods);
5144 Result += PDecl->getNameAsString();
5147 Result += utostr(NumMethods);
5158 Result += (*I)->getSelector().getAsString();
5161 Result += MethodTypeString;
5191 Result += PDecl->getNameAsString();
5194 Result += PDecl->getNameAsString();
5198 Result += PDecl->getNameAsString();
5205 Result += PDecl->getNameAsString();
5237 Result += utostr(Protocols.size());
5244 Result += utostr(Protocols.size());
5248 Result += Protocols[0]->getNameAsString();
5253 Result += Protocols[i]->getNameAsString();
5300 Result += utostr(NumIvars);
5302 Result += IDecl->getNameAsString();
5305 Result += utostr(NumIvars);
5320 Result += IVI->getNameAsString();
5325 Result += StrEncoding;
5331 Result += IVI->getNameAsString();
5336 Result += StrEncoding;
5423 Result += CDecl->getNameAsString();
5426 Result += (RootClass ? RootClass->getNameAsString() : CDecl->getNameAsString());
5431 Result += SuperClass->getNameAsString();
5433 Result += CDecl->getNameAsString();
5438 Result += CDecl->getNameAsString();
5446 Result += IDecl->getNameAsString();
5453 Result += CDecl->getNameAsString();
5462 Result += CDecl->getNameAsString();
5465 Result += CDecl->getNameAsString();
5468 Result += SuperClass->getNameAsString();
5470 Result += CDecl->getNameAsString();
5475 Result += CDecl->getNameAsString();
5485 Result += CDecl->getNameAsString();
5492 Result += CDecl->getNameAsString();
5499 Result += CDecl->getNameAsString();
5506 Result += CDecl->getNameAsString();
5543 Result += "\tvoid *defs[" + utostr(ClsDefCount + CatDefCount)+ "];\n";
5548 Result += "\t0, 0, " + utostr(ClsDefCount)
5552 Result += ClassImplementation[i]->getNameAsString();
5558 Result += CategoryImplementation[i]->getClassInterface()->getNameAsString();
5560 Result += CategoryImplementation[i]->getNameAsString();
5585 Result += "\t" + utostr(OBJC_ABI_VERSION) +
5595 Result += ProtDecl->getNameAsString();
5597 Result += ProtDecl->getNameAsString();
5621 FullCategoryName += IDecl->getNameAsString();
5682 Result += FullCategoryName;
5684 Result += IDecl->getNameAsString();
5686 Result += ClassDecl->getNameAsString();
5692 Result += FullCategoryName;
5700 Result += FullCategoryName;
5708 Result += FullCategoryName;
5756 Result += utostr(NumMethods);
5765 Result += "{\n\t0, " + utostr(NumMethods) + "\n";
5768 Result += (*MethodBegin)->getSelector().getAsString();
5772 Result += MethodTypeString;
5774 Result += MethodInternalNames[*MethodBegin];
5778 Result += (*MethodBegin)->getSelector().getAsString();
5782 Result += MethodTypeString;
5784 Result += MethodInternalNames[*MethodBegin];
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp 1141 RegexStr += llvm::Regex::escape(S.substr(0, VerbatimMatchLength));
tools/clang/lib/Lex/Pragma.cpp 533 Message += getSpelling(DependencyTok) + " ";
tools/clang/lib/Rewrite/HTMLRewrite.cpp 649 Expansion += EscapeText(TmpPP.getSpelling(Tok));
tools/clang/lib/Sema/Sema.cpp 2237 ExtensionNames += I;
tools/clang/lib/Sema/SemaCast.cpp 1480 PathDisplayStr += PE.Base->getType().getAsString() + " -> ";
1481 PathDisplayStr += QualType(DestType).getAsString();
tools/clang/lib/Sema/SemaCodeComplete.cpp 2765 Result += Type.getAsString(Policy) + ")";
2858 Params += FormatFunctionParameter(Policy, Block.getParam(I),
2874 Result += Params;
2878 Result += Params;
2952 PlaceholderStr +=
3488 Arg += ParamType.getAsString(Policy) + ")";
3623 Placeholder += GetDefaultValueString(Param, Context.getSourceManager(),
tools/clang/lib/Sema/SemaDeclCXX.cpp 2935 PathDisplayStr += Context.getTypeDeclType(Paths.getOrigin()).getAsString();
2938 PathDisplayStr += " -> " + Element->Base->getType().getAsString();
tools/clang/lib/Sema/SemaExprObjC.cpp 3617 castCode += castType.getAsString();
3626 castCode += castType.getAsString();
4122 ExpressionString += RelatedClass->getNameAsString();
4124 ExpressionString += ClassMethod->getSelector().getAsString();
4160 ExpressionString += PDecl->getNameAsString();
4168 ExpressionString += InstanceMethod->getSelector().getAsString();
tools/clang/lib/Sema/SemaLookup.cpp 5403 ModuleList += M->getFullModuleName();
tools/clang/lib/Sema/SemaOpenMP.cpp 4055 Values += Sep;
tools/clang/lib/Sema/SemaOverload.cpp10756 TypeStr += Cand->BuiltinParamTypes[0].getAsString();
10762 TypeStr += Cand->BuiltinParamTypes[1].getAsString();
tools/clang/lib/Serialization/ASTReader.cpp 652 SuggestedPredefines += MacroName.str();
656 SuggestedPredefines += MacroName.str();
658 SuggestedPredefines += Existing.first.str();
2325 ErrorStr += F.FileName;
tools/clang/lib/StaticAnalyzer/Checkers/ReturnValueChecker.cpp 64 Name += RD->getNameAsString() + "::";
tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp 428 Value += getRelativeName(N) + ";";
433 Value +=
tools/clang/lib/Tooling/AllTUsExecution.cpp 92 ErrorMsg += Err.str();
tools/clang/lib/Tooling/Core/Replacement.cpp 183 Message += "\nNew replacement: " + NewReplacement->toString();
185 Message += "\nExisting replacement: " + ExistingReplacement->toString();
tools/clang/lib/Tooling/RefactoringCallbacks.cpp 206 ToText += Element.Value;
tools/clang/lib/Tooling/Syntax/BuildTree.cpp 165 R += llvm::formatv("- '{0}' covers '{1}'+{2} tokens\n",
168 R += It->second.Node->dump(A);
tools/clang/lib/Tooling/Transformer/Stencil.cpp 161 *Result += Os.str();
187 *Result += *Source;
211 *Result += *S;
232 *Result += *Value;
tools/clang/tools/driver/cc1as_main.cpp 427 FS += "," + Opts.Features[i];
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 28 Result += ("::" + *I).str();
tools/clang/tools/extra/clang-move/Move.cpp 380 NewCode += "#ifndef " + GuardName + "\n";
381 NewCode += "#define " + GuardName + "\n\n";
387 NewCode += Include;
423 NewCode += "} // namespace " + *It + "\n";
434 NewCode += "namespace " + *DeclIt + " {\n";
443 NewCode += getDeclarationSourceText(MovedDecl);
448 NewCode += "} // namespace " + NS + "\n";
451 NewCode += "\n#endif // " + GuardName + "\n";
tools/clang/tools/extra/clang-tidy/bugprone/CopyConstructorInitCheck.cpp 88 FixItInitList += BaseClass->getNameAsString();
89 FixItInitList += "(" + ParamName + "), ";
tools/clang/tools/extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp 150 Result += NewNames;
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp 328 Fixup += Word.lower();
336 Fixup += Word.upper();
342 Fixup += Word.substr(0, 1).upper();
343 Fixup += Word.substr(1).lower();
350 Fixup += Word.lower();
352 Fixup += Word.substr(0, 1).upper();
353 Fixup += Word.substr(1).lower();
362 Fixup += Word.substr(0, 1).upper();
363 Fixup += Word.substr(1).lower();
371 Fixup += Word.substr(0, 1).upper();
373 Fixup += Word.substr(0, 1).lower();
375 Fixup += Word.substr(1).lower();
tools/clang/tools/extra/clang-tidy/utils/IncludeSorter.cpp 253 CurrentText += LineEdit.second.second;
tools/clang/tools/extra/clangd/CodeComplete.cpp 1814 LSP.detail += "\n" + InsertInclude->Header;
1835 LSP.textEdit->newText += SnippetSuffix;
tools/clang/tools/extra/clangd/CodeCompletionStrings.cpp 163 *Snippet +=
tools/clang/tools/extra/clangd/DraftStore.cpp 101 NewContents += Change.text;
102 NewContents += Contents.substr(*EndIndex);
tools/clang/tools/extra/clangd/FormattedString.cpp 125 R += renderText(C.Contents);
129 R += renderInlineBlock(C.Contents);
134 R += renderCodeBlock(C.Contents, C.Language);
160 R += C.Contents;
164 R += C.Contents;
167 R += C.Contents;
182 R += "text[" + C.Contents + "]";
185 R += "code[" + C.Contents + "]";
190 R += llvm::formatv("codeblock({0}) [\n{1}\n]\n", C.Language, C.Contents);
tools/clang/tools/extra/clangd/IncludeFixer.cpp 363 Scope += *Extracted->UnresolvedScope;
tools/clang/tools/extra/clangd/JSONTransport.cpp 280 JSON += Line;
tools/clang/tools/extra/clangd/URI.cpp 56 Body += llvm::sys::path::convert_to_slash(AbsolutePath);
tools/clang/tools/extra/clangd/refactor/tweaks/ExtractFunction.cpp 315 Result += P.render(EnclosingFuncContext);
327 Result += P.Name;
tools/clang/tools/extra/clangd/unittests/FindTargetTests.cpp 563 AnnotatedCode += "$" + std::to_string(I) + "^";
572 DumpedReferences += llvm::formatv("{0}: {1}\n", I, Refs[I]);
tools/clang/tools/extra/clangd/unittests/FormattedStringTests.cpp 91 EscapedPunctuation += std::string("\\") + C;
tools/clang/tools/extra/clangd/unittests/ParsedASTTests.cpp 62 SpecializationArgs += Arg.getAsType().getAsString(Policy);
tools/clang/tools/extra/clangd/unittests/SemanticHighlightingTests.cpp 92 Result += llvm::formatv("${0}[[{1}]]", T.Kind,
tools/clang/tools/extra/clangd/unittests/TestIndex.cpp 50 USR += "@N@" + replace(QName.substr(0, Pos), "::", "@N@"); // ns:: -> @N@ns
52 USR += llvm::Regex("^.*$").sub(USRFormat, Sym.Name); // e.g. func -> @F@func#
tools/clang/tools/extra/modularize/PreprocessorTracker.cpp 413 Expanded += PP.getSpelling(T); // Not an identifier.
420 Expanded += getMacroExpandedString(PP, Name, MacroInfo, nullptr);
422 Expanded += Name;
443 Expanded += PP.getSpelling(AT); // Not an identifier.
449 Expanded += getMacroExpandedString(PP, Name, MacroInfo, nullptr);
451 Expanded += Name;
tools/clang/tools/extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests.cpp 113 Content += "\n#include \"" + DirtyHeader + "\"";
124 Content += "\n" + MainCode.str();
tools/clang/tools/extra/unittests/clang-tidy/ClangTidyTest.h 135 ErrorText += Error.Message.Message + "\n";
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp 217 S += "void test_fn() { " + Body + " }";
tools/clang/unittests/Rename/ClangRenameTest.h 47 void AppendToHeader(StringRef Code) { HeaderContent += Code.str(); }
tools/clang/unittests/Tooling/CompilationDatabaseTest.cpp 359 JsonDatabase +=
tools/clang/utils/TableGen/ClangAttrEmitter.cpp 1616 EnumName += (Variety + "_");
1618 EnumName += (NormalizeNameForSpellingComparison(Namespace).str() +
1640 Ret += " " + EnumName + " = " + llvm::utostr(Idx);
3758 Spelling += S.nameSpace();
3762 Spelling += S.nameSpace();
3780 Spelling += RawSpelling;
3936 Name += Spelling.name();
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp 784 (*I) += std::string(Width - I->size(), ' ');
858 RST[Start + I] += Separator + Lines[I];
861 RST[I] += Separator + Empty;
862 EmptyLinePrefix += Separator + Empty;
897 S += Suffix;
938 void VisitText(TextPiece *P) { Result += P->Text; }
986 void addInt(int Val) { Result += std::to_string(Val); }
tools/clang/utils/TableGen/MveEmitter.cpp 1040 IntName += "_" + toLetter(cast<ScalarType>(Param)->kind());
tools/clang/utils/TableGen/NeonEmitter.cpp 599 S += utostr(ElementBitwidth);
601 S += "x" + utostr(getNumElements());
603 S += "x" + utostr(NumVectors);
659 Ret += "V" + utostr(getNumElements()) + S;
1077 S += utostr(T.getElementSizeInBits());
1112 S += RetT.builtin_str();
1133 S += T.builtin_str();
1168 S += "_" + typeCode;
1173 S += "_" + getInstTypeCode(InBaseType, LocalCK);
1400 S += "(" + RetVar.getType().str() + ") ";
1402 S += "__builtin_neon_" + mangleName(N, LocalCK) + "(";
1405 S += "&" + RetVar.getName() + ", ";
1424 S += Cast + V.getName() + ".val[" + utostr(J) + "], ";
1435 Arg += V.getName();
1454 S += Arg + ", ";
1465 S += utostr(ThisTy.getNeonEnum());
1599 S += CallPrefix.str();
1600 S += Callee.getMangledName(true) + "(";
1604 S += Values[I];
1767 S += ", " + Name.drop_front(2).str();
1800 S += A.second;
1822 S += B.second;
1841 S += ", " + B.second;
2006 ErrMsg += Types[I].str();
2014 ErrMsg += " - " + I.getReturnType().str() + " " + I.getMangledName();
2019 ErrMsg += I.getParamType(A).str();
2117 S += Def->getBuiltinTypeStr();
tools/dsymutil/SymbolMap.cpp 112 SymbolMapPath += (Twine("/") + sys::path::filename(InputFile) + "-" +
tools/gold/gold-plugin.cpp 565 cf.name += ".llvm." + std::to_string(file->offset) + "." +
tools/lld/COFF/DriverUtils.cpp 830 msg += " " + std::string(s);
tools/lld/COFF/SymbolTable.cpp 106 res += source.str() + "\n>>> ";
107 res += toString(file);
525 res += source.str() + "\n>>> ";
526 res += toString(file);
tools/lld/ELF/Relocations.cpp 84 msg += toString(sym.file);
86 msg += *loc;
91 msg += src + "\n>>> ";
669 msg += "\n>>> defined in " + toString(file);
679 msg += "\n>>> section group signature: " + signature.str() +
798 msg += src + "\n>>> ";
799 msg += sec.getObjMsg(offset);
804 msg += ("\n>>> referenced " + Twine(undef.locs.size() - i) + " more times")
810 msg += "\n>>> did you mean: " + toString(*corrected);
812 msg += "\n>>> defined in: " + toString(corrected->file);
tools/lld/ELF/ScriptLexer.cpp 80 s += "\n>>> " + getLine().str() + "\n>>> " +
tools/lld/ELF/Symbols.cpp 592 msg += src1 + "\n>>> ";
593 msg += obj1 + "\n>>> defined at ";
595 msg += src2 + "\n>>> ";
596 msg += obj2;
tools/lldb/source/Core/Mangled.cpp 86 shortname += cxx_method.GetBasename().str();
tools/lldb/source/Host/common/ProcessLaunchInfo.cpp 282 new_path += working_dir.GetPath();
292 new_path += curr_path;
tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp 491 uuid_str += memory_module_sp->GetUUID().GetAsString();
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp 5091 path += rpath_relative_path;
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp 206 local_sdk_cache_str += dirname;
tools/lldb/source/Plugins/Process/POSIX/CrashReason.cpp 20 str += ss.str();
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp 1254 triple += arch_name;
1260 triple += vendor_name;
1265 triple += os_name;
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp 402 result += nodes.front()->toString(llvm::ms_demangle::OF_NoTagSpecifier);
tools/lldb/source/lldb.cpp 63 g_version_str += clang_rev;
68 g_version_str += llvm_rev;
tools/lldb/tools/lldb-vscode/IOStream.cpp 131 text += data;
tools/llvm-cov/CodeCoverage.cpp 169 Str += Whence.str() + ": ";
170 Str += Message.str() + "\n";
tools/llvm-cov/SourceCoverageView.cpp 111 Result += Number.substr(IntLen, 3 - IntLen);
tools/llvm-cov/SourceCoverageViewHTML.cpp 57 Tag += " class='" + ClassName + "'";
256 PathToStyle += ".." + PathSep;
tools/llvm-cxxfilt/llvm-cxxfilt.cpp 128 Result += demangle(OS, Word.first) + Word.second.str();
tools/llvm-dwarfdump/Statistics.cpp 441 ChildVarPrefix += toHex(LexicalBlockIndex++) + '.';
tools/llvm-lto/llvm-lto.cpp 1021 PartFilename += "." + utostr(I);
tools/llvm-objdump/llvm-objdump.cpp 625 Warning += ": " + ErrorMessage;
tools/llvm-pdbutil/FormatUtil.cpp 81 Result += join(ThisGroup, Sep);
85 Result += formatv("{0}", fmt_repeat(' ', IndentLevel));
95 Result += formatv("\n{0}{1}", fmt_repeat(' ', IndentLevel), S);
tools/llvm-readobj/ELFDumper.cpp 2968 Addend += to_hexString(RelAddend, false);
3343 Fields[5].Str +=
3606 Sections +=
3620 Sections +=
tools/polly/lib/Analysis/ScopBuilder.cpp 1948 Suffix += std::to_string(Count);
tools/polly/lib/CodeGen/IslAst.cpp 155 Clauses[MA->getReductionType()] +=
162 str += MemoryAccess::getReductionOperatorStr(ReductionClause.first);
164 str += " : " + ReductionClause.second.substr(2) + ")";
tools/polly/lib/Exchange/JSONExporter.cpp 87 FileName += "." + Suffix.str();
tools/polly/lib/Support/GICHelper.cpp 194 S += std::string("_") + Name;
196 S += std::to_string(Number);
198 S += Suffix;
unittests/ProfileData/InstrProfTest.cpp 967 FuncNameStrings += FuncNameStrings2;
unittests/Support/DynamicLibrary/PipSqueak.cpp 31 Str += std::string("(") + *Glb.Str + std::string(")");
unittests/Support/FileCheckTest.cpp 38 Str += Twine(First ? "{" + S : ", " + S).str();
utils/TableGen/AsmMatcherEmitter.cpp 1121 Res += "_" + utostr((unsigned) *it) + "_";
2093 Signature += Class;
2094 Signature += utostr(OpInfo.MINumOperands);
2095 Signature += "_" + itostr(OpInfo.AsmOperandNum);
2104 Name += "_" + Op.Class->DefaultMethod;
2167 Signature += "__" + TiedTupleName;
2182 Signature += "__" + Ty;
2215 Signature += "__" + Name;
2713 Result += "Features.test(" + F->getEnumBitName() + ')';
2771 MatchCode += "if (" + FeatureMask + ")\n";
3121 Name += ("_" + Feature->getName()).str();
utils/TableGen/AsmWriterEmitter.cpp 227 UniqueOperandCommands[CommandIdx] += Command;
utils/TableGen/AsmWriterInst.cpp 40 Result += ", " + utostr(MIOpNo);
45 Result += ", \"" + MiModifier + '"';
utils/TableGen/CodeEmitterGen.cpp 148 Case += " // op: " + VarName + "\n";
150 Case += " " + EncoderMethodName + "(MI, " + utostr(OpIdx);
153 Case += " op = " + EncoderMethodName + "(MI, " + utostr(OpIdx);
158 Case += " // op: " + VarName + "\n";
160 Case += " getMachineOpValue(MI, MI.getOperand(" + utostr(OpIdx) + ")";
163 Case += " op = getMachineOpValue(MI, MI.getOperand(" + utostr(OpIdx) + ")";
228 Case += " Value.insertBits(" + extractStr + ", " +
233 Case += " Value.insertBits(" + extractStr + ", " +
244 Case += " op &= " + maskStr + ";\n";
246 Case += " op <<= " + itostr(opShift) + ";\n";
248 Case += " op >>= " + itostr(-opShift) + ";\n";
253 Case += " Value |= (op & " + maskStr + ") << " +
256 Case += " Value |= (op & " + maskStr + ") >> " +
259 Case += " Value |= (op & " + maskStr + ");\n";
276 Case += " case " + itostr(KV.first) + ": {\n";
277 Case += getInstructionCaseForEncoding(R, KV.second, Target);
337 Name += ("_" + Feature->getName()).str();
utils/TableGen/CodeGenDAGPatterns.cpp 983 Code += "AddrSpace != " + utostr(IntVal->getValue());
992 Code += utostr(MinAlign);
999 Code += ("if (cast<MemSDNode>(N)->getMemoryVT() != MVT::" +
1038 Code += ("if (cast<" + SDNodeName +
1077 Code += ("if (cast<" + SDNodeName +
1085 Code += PredicateCode;
1409 Check += '(' + PredList[i]->getCondString() + ')';
utils/TableGen/CodeGenMapTable.cpp 351 KeyValueStr += Value->getAsString();
utils/TableGen/CodeGenRegisters.cpp 72 N += getName();
1307 Name += Parts[i]->getName();
utils/TableGen/CodeGenSchedule.cpp 717 Name += getSchedRW(*I, IsRead).Name;
984 Name += SchedWrites[Idx].Name;
988 Name += SchedReads[Idx].Name;
utils/TableGen/DAGISelMatcherGen.cpp 317 PatternName += N->getChild(i)->getName();
480 WhatFor += "$" + Name;
utils/TableGen/FixedLenDecoderEmitter.cpp 2466 DecoderNamespace +=
utils/TableGen/GlobalISelEmitter.cpp 204 Explanation +=
231 Explanation += (" MemVT=" + VT->getName()).str();
233 Explanation += (" ScalarVT(MemVT)=" + VT->getName()).str();
254 Explanation += " MinAlign=" + utostr(MinAlign);
362 Explanation += (Separator + "first-failing:" +
388 Name += ("_" + Feature->getName()).str();
utils/TableGen/InstrInfoEmitter.cpp 143 Res += getQualifiedName(OpR) + "RegClassID, ";
145 Res += utostr(OpR->getValueAsInt("RegClassKind")) + ", ";
170 Res += Op.OperandType;
183 Res += "((" + utostr(Constraint.getTiedOperand()) +
utils/TableGen/SubtargetEmitter.cpp 309 ItinString += " { " + itostr(Cycles) + ", ";
317 ItinString += Name + "FU::" + UnitList[j]->getName().str();
322 ItinString += ", " + itostr(TimeInc);
325 ItinString += ", (llvm::InstrStage::ReservationKinds)" + itostr(Kind);
350 ItinString += " " + itostr(OCycle);
363 ItinString += Name + "Bypass::" + BypassList[i]->getName().str();
483 StageTable += ItinStageString + ", // " + itostr(StageCount);
485 StageTable += "-" + itostr(StageCount + NStages - 1);
500 OperandCycleTable += ItinOperandCycleString + ", // ";
503 OperandIdxComment += "-"
505 OperandCycleTable += OperandIdxComment + "\n";
510 BypassTable += ItinBypassString + ", // " + OperandIdxComment + "\n";
1216 SchedTables.WriterNames[idx + i] += std::string("_") + WriterNames[i];
utils/benchmark/src/benchmark_register.cc 180 instance.name +=
185 instance.name += StrFormat("%d", arg);
190 instance.name += StrFormat("/min_time:%0.3f", family->min_time_);
192 instance.name += StrFormat("/iterations:%d", family->iterations_);
194 instance.name += StrFormat("/repeats:%d", family->repetitions_);
204 instance.name += StrFormat("/threads:%d", instance.threads);
utils/benchmark/src/console_reporter.cc 61 str += FormatString(" %10s", c.first.c_str());
utils/benchmark/src/string_util.cc 115 *str += ss.str();
utils/unittest/googlemock/src/gmock-matchers.cc 115 result += fields[i];
132 result += " " + JoinAsTuple(param_values);
utils/unittest/googletest/include/gtest/internal/gtest-param-util.h 562 test_case_name += test_info->test_case_base_name;
utils/unittest/googletest/src/gtest-death-test.cc 510 ret += output.substr(at);
513 ret += output.substr(at, line_end + 1 - at);
utils/yaml-bench/YAMLBench.cpp 79 Ret += Tag;