|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/ADT/Twine.h 432 std::string str() const;
References
examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp 683 (("__anon_expr" + Twine(ExprCount)).str(), std::vector<std::string>());
1159 ExitOnErr(TheJIT->lookup(("__anon_expr" + Twine(ExprCount)).str()));
examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp 683 ("__anon_expr" + Twine(ExprCount)).str(), std::vector<std::string>());
1159 ExitOnErr(TheJIT->lookup(("__anon_expr" + Twine(ExprCount)).str()));
include/llvm/Analysis/BlockFrequencyInfoImpl.h 571 return (MachineName + "[" + BB->getName() + "]").str();
572 return MachineName.str();
include/llvm/Analysis/CFGPrinter.h 174 return ("label=\"W:" + Twine(Weight->getZExtValue()) + "\"").str();
include/llvm/CodeGen/MachineScheduler.h 533 ReadyQueue(unsigned id, const Twine &name): ID(id), Name(name.str()) {}
include/llvm/ExecutionEngine/JITLink/JITLink.h 46 JITLinkError(Twine ErrMsg) : ErrMsg(ErrMsg.str()) {}
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h 447 auto GVsM = std::make_unique<Module>((SrcM.getName() + ".globals").str(),
include/llvm/IR/DiagnosticInfo.h 656 *this << Msg.str();
include/llvm/Support/Error.h 1208 return createStringError(EC, S.str().c_str());
1248 FileName = F.str();
include/llvm/Support/FileSystem.h 1226 : Path(Path.str()), Type(Type), FollowSymlinks(FollowSymlinks),
include/llvm/Support/FormatProviders.h 219 format_provider<std::string>::format(V.str(), Stream, Style);
include/llvm/Support/GraphWriter.h 316 W.writeGraph(Title.str());
334 std::string N = Name.str();
include/llvm/Support/SourceMgr.h 237 : Range(Loc, Loc), Text(Insertion.str()) {
243 : Range(R), Text(Replacement.str()) {
include/llvm/Support/StringSaver.h 30 StringRef save(const Twine &S) { return save(StringRef(S.str())); }
52 StringRef save(const Twine &S) { return save(StringRef(S.str())); }
include/llvm/Support/SymbolRemappingReader.h 72 : File(File), Line(Line), Message(Message.str()) {}
include/llvm/Transforms/IPO/DeadArgumentElimination.h 65 .str();
lib/Analysis/CFGPrinter.cpp 98 (CFGDotFilenamePrefix + "." + F.getName() + ".dot").str();
lib/Analysis/DDG.cpp 146 .str(),
lib/Bitcode/Reader/BitcodeReader.cpp 453 std::string FullMsg = Message.str();
5581 return error("Invalid hash length " + Twine(Record.size()).str());
6229 return error("Invalid hash length " + Twine(Record.size()).str());
lib/CodeGen/AsmPrinter/ByteStreamer.h 91 Comments.push_back(Comment.str());
97 Comments.push_back(Comment.str());
109 Comments.push_back(Comment.str());
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp 200 Filepath = (Dir + "\\" + Filename).str();
lib/CodeGen/GCMetadata.cpp 167 const std::string error = ("unsupported GC: " + Name).str() +
lib/CodeGen/GlobalISel/IRTranslator.cpp 104 R << (" (in function: " + MF.getName() + ")").str();
lib/CodeGen/GlobalISel/Utils.cpp 186 R << (" (in function: " + MF.getName() + ")").str();
lib/CodeGen/LowerEmuTLS.cpp 88 std::string EmuTlsVarName = ("__emutls_v." + GV->getName()).str();
139 std::string EmuTlsTmplName = ("__emutls_t." + GV->getName()).str();
lib/CodeGen/MIRParser/MIParser.cpp 548 Loc - Source.data(), SourceMgr::DK_Error, Msg.str(),
lib/CodeGen/MIRParser/MIRParser.cpp 178 DS_Error, SMDiagnostic(Filename, SourceMgr::DK_Error, Message.str())));
lib/CodeGen/MIRPrinter.cpp 619 OS << (Twine("%ir-block.") + Twine(Slot)).str();
lib/CodeGen/MachineBasicBlock.cpp 267 Name = (getParent()->getName() + ":").str();
271 Name += ("BB" + Twine(getNumber())).str();
315 OS << (Twine("%ir-block.") + Twine(Slot)).str();
lib/CodeGen/MachineFunction.cpp 530 return ("CFG for '" + F->getName() + "' function").str();
lib/CodeGen/MachineOutliner.cpp 971 R << NV((Twine("OtherStartLoc") + Twine(i)).str(),
996 R << NV((Twine("StartLoc") + Twine(i)).str(),
1096 std::string FunctionName = ("OUTLINED_FUNCTION_" + Twine(Name)).str();
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp 706 R << (" (in function: " + MF.getName() + ")").str();
802 (MF->getName() + ":" + FuncInfo->MBB->getBasicBlock()->getName()).str();
lib/CodeGen/SelectionDAG/TargetLowering.cpp 6830 std::string NameString = ("__emutls_v." + GA->getGlobal()->getName()).str();
lib/CodeGen/ShadowStackGCLowering.cpp 162 return StructType::create(EltTys, ("gc_stackentry." + F.getName()).str());
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp 177 DictScope NameScope(W, ("Name@0x" + Twine::utohexstr(NameOffset)).str());
183 ListScope DataScope(W, ("Data " + Twine(Data)).str());
218 DictScope AtomScope(W, ("Atom " + Twine(i++)).str());
233 ListScope BucketScope(W, ("Bucket " + Twine(Bucket)).str());
248 ListScope HashScope(W, ("Hash 0x" + Twine::utohexstr(Hash)).str());
408 DictScope AbbrevScope(W, ("Abbreviation 0x" + Twine::utohexstr(Code)).str());
665 DictScope EntryScope(W, ("Entry @ 0x" + Twine::utohexstr(EntryId)).str());
673 DictScope NameScope(W, ("Name " + Twine(NTE.getIndex())).str());
720 ListScope BucketScope(W, ("Bucket " + Twine(Bucket)).str());
741 DictScope UnitScope(W, ("Name Index @ 0x" + Twine::utohexstr(Base)).str());
lib/DebugInfo/PDB/Native/NativeEnumInjectedSources.cpp 73 std::string StreamName = ("/src/files/" + VName).str();
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp 108 ExtName += ("_" + F->getName()).str();
113 FnPtr = (*FuncNames)[("lle_X_" + F->getName()).str()];
116 ("lle_X_" + F->getName()).str());
lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp 59 M.setModuleIdentifier((M.getModuleIdentifier() + Suffix).str());
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h 274 std::string NewCtorName = ("__ORCstatic_ctor." + Twine(CtorId++)).str();
281 std::string NewDtorName = ("__ORCstatic_dtor." + Twine(DtorId++)).str();
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp 231 EvalResult(("Cannot decode unknown symbol '" + Symbol + "'").str()),
253 EvalResult(("Couldn't decode instruction at '" + Symbol + "'").str()),
299 EvalResult(("Cannot decode unknown symbol '" + Symbol + "'").str()),
311 EvalResult(("Couldn't decode instruction at '" + Symbol + "'").str()),
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h 156 " is out of range").str());
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h 52 "type: " + Twine(RelType)).str());
63 " is out of range").str());
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h 68 " is out of range").str());
lib/IR/Attributes.cpp 467 Result += (Twine('"') + getKindAsString() + Twine('"')).str();
lib/IR/AutoUpgrade.cpp 4097 .str());
lib/IR/DiagnosticInfo.cpp 160 return (Filename + ":" + Twine(Line) + ":" + Twine(Column)).str();
219 Twine(Loc.getCol())).str();
lib/IR/LegacyPassManager.cpp 789 dbgs(), ("*** IR Dump Before " + P->getPassName() + " ***").str());
798 dbgs(), ("*** IR Dump After " + P->getPassName() + " ***").str());
lib/IR/Metadata.cpp 1069 : Name(N.str()), Operands(new SmallVector<TrackingMDRef, 4>()) {}
lib/IR/ModuleSummaryIndex.cpp 237 std::string A = Name.str();
239 A += Value.str();
251 Comments += Comment.str();
lib/LTO/LTOCodeGenerator.cpp 279 .str());
396 GV.getName() + "'").str());
399 GV.getName() + "'").str());
lib/LTO/LTOModule.cpp 254 name = (".objc_class_name_" + ca->getAsCString()).str();
lib/LTO/ThinLTOCodeGenerator.cpp 92 std::string SaveTempPath = (TempDir + llvm::Twine(count) + Suffix).str();
lib/LineEditor/LineEditor.cpp 200 : Prompt((ProgName + "> ").str()), HistoryPath(HistoryPath),
lib/MC/ELFObjectWriter.cpp 917 MC.renameELFSection(&Section, (".z" + SectionName.drop_front(1)).str());
lib/MC/MCContext.cpp 371 RelSecNames.insert(std::make_pair(Name.str(), true));
390 if (!Group.isTriviallyEmpty() && !Group.str().empty())
407 std::make_pair(ELFSectionKey{Section.str(), Group, UniqueID}, nullptr));
499 if (!Group.isTriviallyEmpty() && !Group.str().empty()) {
516 std::make_pair(WasmSectionKey{Section.str(), Group, UniqueID}, nullptr));
587 (Twine(Entry.second) + Path.substr(Entry.first.size())).str();
lib/MC/MCParser/AsmParser.cpp 5844 OutputConstraints.push_back(("=" + Operand.getConstraint()).str());
lib/MC/MCStreamer.cpp 790 .str();
lib/MC/WinCOFFObjectWriter.cpp 373 std::string WeakName = (".weak." + MCSym.getName() + ".default").str();
lib/Object/Archive.cpp 48 std::string StringMsg = "truncated or malformed archive (" + Msg.str() + ")";
lib/Object/COFFImportFile.cpp 123 "' with '" + To + "' failed").str()), object_error::parse_failed);
126 return (Twine(S.substr(0, Pos)) + To + S.substr(Pos + From.size())).str();
150 ImportDescriptorSymbolName(("__IMPORT_DESCRIPTOR_" + Library).str()),
151 NullThunkSymbolName(("\x7f" + Library + "_NULL_THUNK_DATA").str()) {}
562 writeStringTable(Buffer, {(Prefix + Sym).str(),
563 (Prefix + Weak).str()});
lib/Object/COFFModuleDefinition.cpp 84 return make_error<StringError>(StringRef(Err.str()),
lib/Object/Error.cpp 63 GenericBinaryError::GenericBinaryError(Twine Msg) : Msg(Msg.str()) {}
66 : Msg(Msg.str()) {
lib/Object/MachOUniversal.cpp 26 std::string StringMsg = "truncated or malformed fat file (" + Msg.str() + ")";
lib/Object/WindowsResource.cpp 305 .str());
lib/ObjectYAML/WasmEmitter.cpp 519 writeStringRef(("reloc." + CustomSection->Name).str(), OS);
lib/Option/ArgList.cpp 269 unsigned Index = BaseArgs.MakeIndex((Opt.getName() + Value).str());
lib/Option/OptTable.cpp 299 std::string Candidate = (CandidatePrefix + CandidateName).str();
315 NearestString = (Candidate + RHS).str();
lib/ProfileData/InstrProfReader.cpp 100 std::string RemappingPathStr = RemappingPath.str();
lib/Support/CodeGenCoverage.cpp 101 std::string CoverageFilename = (CoveragePrefix + Pid).str();
lib/Support/CommandLine.cpp 597 NearestString = (Twine(Name) + "=" + RHS).str();
lib/Support/Error.cpp 116 : Msg(S.str()), EC(EC) {}
119 : Msg(S.str()), EC(EC), PrintMsgOnly(true) {}
lib/Support/ErrorHandling.cpp 107 handler(handlerData, Reason.str(), GenCrashDiag);
lib/Support/FileCheck.cpp 1784 std::string DefPrefix = ("Global define #" + Twine(++I) + ": ").str();
1795 CmdlineDefsDiag += (DefPrefix + CmdlineDef + " (parsed as: [[").str();
1800 CmdlineDefsDiag += (SubstitutionStr + Twine("]])\n")).str();
1805 CmdlineDefsDiag += (CmdlineDef + "\n").str();
lib/Support/FileCollector.cpp 66 std::string FileStr = file.str();
lib/Support/GraphWriter.cpp 270 (StringRef("start ") + (wait ? "/WAIT " : "") + OutputFilename).str();
lib/Support/Regex.cpp 193 *Error = ("invalid backreference string '" + Twine(Ref) + "'").str();
lib/Support/SourceMgr.cpp 221 LineAndCol.second-1, Kind, Msg.str(),
lib/Support/SpecialCaseList.cpp 48 Regexp = (Twine("^(") + StringRef(Regexp) + ")$").str();
104 Error = (Twine("can't open file '") + Path + "': " + EC.message()).str();
109 Error = (Twine("error parsing file '") + Path + "': " + ParseError).str();
144 ": " + *I).str();
155 .str();
168 SplitLine.first + "'").str();
181 Error = (Twine("malformed section ") + Section + ": '" + REError).str();
193 SplitLine.second + "': " + REError).str();
lib/Support/TarWriter.cpp 75 int Total = Len + Twine(Len).str().size();
76 Total = Len + Twine(Total).str().size();
77 return (Twine(Total) + " " + Key + "=" + Val + "\n").str();
lib/Support/Triple.cpp 726 : Data(Str.str()), Arch(UnknownArch), SubArch(NoSubArch),
766 : Data((ArchStr + Twine('-') + VendorStr + Twine('-') + OSStr).str()),
767 Arch(parseArch(ArchStr.str())),
768 SubArch(parseSubArch(ArchStr.str())),
769 Vendor(parseVendor(VendorStr.str())),
770 OS(parseOS(OSStr.str())),
783 EnvironmentStr).str()),
784 Arch(parseArch(ArchStr.str())),
785 SubArch(parseSubArch(ArchStr.str())),
786 Vendor(parseVendor(VendorStr.str())),
787 OS(parseOS(OSStr.str())),
788 Environment(parseEnvironment(EnvironmentStr.str())),
789 ObjectFormat(parseFormat(EnvironmentStr.str())) {
945 NormalizedEnvironment = Twine("android", AndroidVersion).str();
1185 getObjectFormatTypeName(ObjectFormat)).str());
1193 getObjectFormatTypeName(Kind)).str());
lib/Support/Unix/Path.inc 275 if (::STATVFS(const_cast<char *>(Path.str().c_str()), &Vfs))
479 if (::STATVFS(const_cast<char *>(Path.str().c_str()), &Vfs))
lib/Support/VirtualFileSystem.cpp 74 : Name(Name.str()), UID(UID), MTime(MTime), User(User), Group(Group),
304 new RealFile(*FDOrErr, Name.str(), RealName.str()));
505 : Overlays(FS), Path(Path.str()), CurrentFS(Overlays.overlays_begin()) {
565 return (std::string(Indent, ' ') + Stat.getName() + "\n").str();
655 (std::string(Indent, ' ') + Stat.getName() + "\n").str();
732 Child.reset(new detail::InMemoryHardLink(P.str(), *HardLinkTarget));
735 Status Stat(P.str(), getNextVirtualUniqueID(),
879 new detail::InMemoryFileAdaptor(*F, Path.str()));
944 std::make_shared<InMemoryDirIterator>(*DirNode, Dir.str()));
2039 : Dir(_Path.str()), Current(Begin), End(End),
lib/TableGen/Record.cpp 1329 .str();
1391 .str();
2091 (Twine("of type '") + VRT->getType()->getAsString() + "' ").str();
lib/TableGen/TGParser.cpp 215 Twine(BI->getNumBits())).str();
217 InitType = (Twine("' of type '") + TI->getType()->getAsString()).str();
1272 .str());
1567 .str());
1585 .str());
2486 Type = (Twine("' of type '") + TI->getType()->getAsString()).str();
lib/TableGen/TableGenBackend.cpp 24 assert((Prefix.str().size() + Suffix.size() <= MAX_LINE_LEN) &&
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp 281 + "_" + Twine(MBB.getNumber()) + ":").str());
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp 166 return (Twine('u') + getTypeName(Ty, true)).str();
179 return (Twine('i') + Twine(BitWidth)).str();
192 return (Twine(getTypeName(ElTy, Signed)) + Twine(NumElements)).str();
478 Kernel.mSymbolName = (Twine(Func.getName()) + Twine("@kd")).str();
607 return (Twine('u') + getTypeName(Ty, true)).str();
620 return (Twine('i') + Twine(BitWidth)).str();
633 return (Twine(getTypeName(ElTy, Signed)) + Twine(NumElements)).str();
945 (Twine(Func.getName()) + Twine(".kd")).str(), /*Copy=*/true);
lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp 118 auto RuntimeHandle = (F.getName() + ".runtime_handle").str();
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp 306 Ret += (StringRef("+") + KV.Key + ",").str();
308 Ret += (StringRef("-") + KV.Key + ",").str();
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp 4136 "not available on non-amdhsa OSes")).str());
4216 "not available on non-amdpal OSes")).str());
lib/Target/ARM/ARMAsmPrinter.cpp 607 ArchFS = (Twine(ArchFS) + "," + FS).str();
lib/Target/ARM/ARMSubtarget.cpp 181 ArchFS = (Twine(ArchFS) + "," + FS).str();
lib/Target/ARM/AsmParser/ARMAsmParser.cpp10793 STI.setDefaultFeatures("", ("+" + ARM::getArchName(ID)).str());
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp 64 return (Twine("__aeabi_unwind_cpp_pr") + Twine(Index)).str();
lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp 141 ARMArchFeature = (ARMArchFeature + "+" + ARM::getArchName(ArchID)).str();
169 ArchFS = (Twine(ArchFS) + "," + FS).str();
lib/Target/Hexagon/HexagonBitTracker.cpp 129 (Twine("Unhandled physical register") + TRI.getName(Reg)).str().c_str());
lib/Target/Hexagon/HexagonTargetObjectFile.cpp 386 return getContext().getELFSection(Name.str(), ELF::SHT_NOBITS,
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp 178 return (I->getName() + Suffix).str();
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp 156 std::string SectionName = (".custom_section." + Name->getString()).str();
229 std::string MDKey = (StringRef("wasm-feature-") + KV.Key).str();
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp 225 Ret += (StringRef("+") + KV.Key + ",").str();
277 std::string MDKey = (StringRef("wasm-feature-") + KV.Key).str();
lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp 295 ArchFS = (Twine(ArchFS) + "," + FS).str();
lib/TextAPI/MachO/Target.cpp 52 .str();
lib/TextAPI/MachO/TextStub.cpp 1104 File->ErrorMessage = ("malformed file\n" + Message).str();
lib/ToolDrivers/llvm-lib/LibDriver.cpp 250 .str();
lib/Transforms/IPO/LowerTypeTests.cpp 964 Constant *C = M.getOrInsertGlobal(("__typeid_" + TypeId + "_" + Name).str(),
2188 (llvm::Twine(".symver ") + SymbolName + ", " + Alias).str());
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp 56 std::string NewName = (Name + ModuleId).str();
95 std::string NewName = (Twine(LocalToGlobal.size()) + ModuleId).str();
lib/Transforms/IPO/WholeProgramDevirt.cpp 942 std::string NewName = (TheFn->getName() + "$merged").str();
lib/Transforms/Instrumentation/CFGMST.h 235 if (!Message.str().empty())
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 1466 ThunkName += ("." + P.first->getName()).str();
lib/Transforms/Instrumentation/InstrProfiling.cpp 681 return (Prefix + Name).str();
685 return (Prefix + Name).str();
686 return (Prefix + Name + "." + Twine(FuncHash)).str();
lib/Transforms/Instrumentation/PGOInstrumentation.cpp 494 (IsCritical ? "c" : " ") + " W=" + Twine(Weight)).str();
508 return (Twine("Index=") + Twine(Index)).str();
678 Twine(F.getName() + "." + Twine(FunctionHash)).str();
681 FuncName = Twine(FuncName + "." + Twine(FunctionHash)).str();
698 Twine(OrigComdat->getName() + "." + Twine(FunctionHash)).str();
892 .str();
922 return (Twine(BBInfo::infoString()) + " Count=" + Twine(CountValue)).str();
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp 364 return V->hasName() ? (V->getName() + Suffix).str() : DefaultName.str();
lib/Transforms/Scalar/SROA.cpp 139 void SetNamePrefix(const Twine &P) { Prefix = P.str(); }
lib/Transforms/Utils/BasicBlockUtils.cpp 408 std::string Name = BBName.str();
lib/Transforms/Utils/ModuleUtils.cpp 281 return ("$" + Str).str();
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp 103 {Twine(Prefix(), "vectorize.").str(),
104 Twine(Prefix(), "interleave.").str()},
lib/Transforms/Vectorize/LoopVectorize.cpp 6987 std::string RegionName = (Twine("pred.") + Instr->getOpcodeName()).str();
lib/Transforms/Vectorize/VPlan.h 401 void setName(const Twine &newName) { Name = newName.str(); }
996 : VPBlockBase(VPBasicBlockSC, Name.str()) {
1223 void setName(const Twine &newName) { Name = newName.str(); }
lib/WindowsManifest/WindowsManifestMerger.cpp 31 WindowsManifestError::WindowsManifestError(const Twine &Msg) : Msg(Msg.str()) {}
tools/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def 74 ANALYZER_OPTION(
85 ANALYZER_OPTION(bool, ShouldIncludeImplicitDtorsInCFG, "cfg-implicit-dtors",
90 ANALYZER_OPTION(bool, ShouldIncludeTemporaryDtorsInCFG, "cfg-temporary-dtors",
95 ANALYZER_OPTION(
100 ANALYZER_OPTION(bool, ShouldIncludeLoopExitInCFG, "cfg-loopexit",
105 ANALYZER_OPTION(bool, ShouldIncludeRichConstructorsInCFG,
111 ANALYZER_OPTION(
115 ANALYZER_OPTION(
119 ANALYZER_OPTION(bool, MayInlineCXXStandardLibrary, "c++-stdlib-inlining",
124 ANALYZER_OPTION(bool, MayInlineCXXAllocator, "c++-allocator-inlining",
128 ANALYZER_OPTION(
135 ANALYZER_OPTION(bool, MayInlineCXXTemporaryDtors, "c++-temp-dtor-inlining",
142 ANALYZER_OPTION(
149 ANALYZER_OPTION(
158 ANALYZER_OPTION(bool, ShouldSuppressInlinedDefensiveChecks,
164 ANALYZER_OPTION(bool, MayInlineCXXContainerMethods, "c++-container-inlining",
169 ANALYZER_OPTION(bool, ShouldSuppressFromCXXStandardLibrary,
175 ANALYZER_OPTION(bool, ShouldCrosscheckWithZ3, "crosscheck-with-z3",
180 ANALYZER_OPTION(bool, ShouldReportIssuesInMainSourceFile,
186 ANALYZER_OPTION(bool, ShouldWriteStableReportFilename, "stable-report-filename",
190 ANALYZER_OPTION(
198 ANALYZER_OPTION(bool, MayInlineObjCMethod, "objc-inlining",
202 ANALYZER_OPTION(bool, ShouldPrunePaths, "prune-paths",
207 ANALYZER_OPTION(bool, ShouldAddPopUpNotes, "add-pop-up-notes",
211 ANALYZER_OPTION(
217 ANALYZER_OPTION(bool, ShouldSynthesizeBodies, "faux-bodies",
222 ANALYZER_OPTION(
231 ANALYZER_OPTION(
237 ANALYZER_OPTION(bool, ShouldWidenLoops, "widen-loops",
240 ANALYZER_OPTION(
244 ANALYZER_OPTION(
251 ANALYZER_OPTION(
267 ANALYZER_OPTION(
278 ANALYZER_OPTION(
284 ANALYZER_OPTION(bool, ShouldDisplayMacroExpansions, "expand-macros",
289 ANALYZER_OPTION(bool, DisplayCTUProgress, "display-ctu-progress",
294 ANALYZER_OPTION(bool, ShouldTrackConditions, "track-conditions",
299 ANALYZER_OPTION(bool, ShouldTrackConditionsDebug, "track-conditions-debug",
303 ANALYZER_OPTION(bool, ShouldEmitFixItHintsAsRemarks, "fixits-as-remarks",
311 ANALYZER_OPTION(unsigned, CTUImportThreshold, "ctu-import-threshold",
319 ANALYZER_OPTION(
325 ANALYZER_OPTION(
331 ANALYZER_OPTION(
338 ANALYZER_OPTION(unsigned, MaxSymbolComplexity, "max-symbol-complexity",
341 ANALYZER_OPTION(unsigned, MaxTimesInlineLarge, "max-times-inline-large",
344 ANALYZER_OPTION_DEPENDS_ON_USER_MODE(
349 ANALYZER_OPTION_DEPENDS_ON_USER_MODE(
355 ANALYZER_OPTION(
367 ANALYZER_OPTION(StringRef, CTUDir, "ctu-dir",
370 ANALYZER_OPTION(StringRef, CTUIndexName, "ctu-index-name",
374 ANALYZER_OPTION(
381 ANALYZER_OPTION(
387 ANALYZER_OPTION(
394 ANALYZER_OPTION(
400 ANALYZER_OPTION_DEPENDS_ON_USER_MODE(
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h 326 return Solver->mkSymbol(Name.str().c_str(), mkSort(Solver, Ty, BitWidth));
tools/clang/include/clang/Tooling/CompilationDatabase.h 47 : Directory(Directory.str()), Filename(Filename.str()),
47 : Directory(Directory.str()), Filename(Filename.str()),
48 CommandLine(std::move(CommandLine)), Output(Output.str()){}
tools/clang/lib/ARCMigrate/FileRemapper.cpp 258 << err.str();
tools/clang/lib/ARCMigrate/ObjCMT.cpp 2168 << Err.str();
tools/clang/lib/AST/ItaniumMangle.cpp 3166 ("__" + EltName + "x" + Twine(T->getNumElements()) + "_t").str();
tools/clang/lib/AST/JSONNodeDumper.cpp 73 JOS.attribute("kind", (llvm::Twine(T->getTypeClassName()) + "Type").str());
98 JOS.attribute("kind", (llvm::Twine(D->getDeclKindName()) + "Decl").str());
285 JOS.attribute("kind", (llvm::Twine(D->getDeclKindName()) + "Decl").str());
297 Ret["kind"] = (llvm::Twine(D->getDeclKindName()) + "Decl").str();
tools/clang/lib/ASTMatchers/Dynamic/Diagnostics.cpp 61 Out->push_back(Arg.str());
tools/clang/lib/ASTMatchers/Dynamic/Marshallers.h 677 .str();
tools/clang/lib/ASTMatchers/Dynamic/Parser.cpp 526 (Entry.getValue().getTypeAsString() + " " + Entry.getKey()).str();
tools/clang/lib/ASTMatchers/Dynamic/VariantValue.cpp 25 return (Twine("Matcher<") + MatcherKind.asStringRef() + ">").str();
93 .str();
134 return (Twine("Matcher<") + Inner + ">").str();
tools/clang/lib/Analysis/ProgramPoint.cpp 238 : Desc((MsgProvider + " : " + Msg).str()) {}
tools/clang/lib/Basic/IdentifierTable.cpp 643 return (Twine(toLowercase(Name[3])) + Name.drop_front(4)).str();
tools/clang/lib/Basic/Targets/AMDGPU.cpp 243 .str());
tools/clang/lib/Basic/Targets/ARM.cpp 366 ArchFeature = ("+" + llvm::ARM::getArchName(CPUArch)).str();
tools/clang/lib/Basic/Targets/Mips.h 38 resetDataLayout(("E-" + Layout).str());
40 resetDataLayout(("e-" + Layout).str());
tools/clang/lib/CodeGen/CGBuiltin.cpp 1444 .str());
1469 Format.concat(llvm::Twine('\n')).str());
tools/clang/lib/CodeGen/CGCUDANV.cpp 143 return ((Twine("hip") + Twine(FuncName)).str());
144 return ((Twine("cuda") + Twine(FuncName)).str());
149 return ((Twine("__hip") + Twine(FuncName)).str());
150 return ((Twine("__cuda") + Twine(FuncName)).str());
803 return (Name + ".stub").str();
tools/clang/lib/CodeGen/CGDebugInfo.cpp 482 return (Twine(Entry.second) + Path.substr(Entry.first.size())).str();
tools/clang/lib/CodeGen/CGDecl.cpp 1111 Name = ("__const." + FunctionName(DC) + "." + D.getName()).str();
tools/clang/lib/CodeGen/CGExpr.cpp 2770 Name += "_" + Twine(Discriminator + 1).str();
tools/clang/lib/CodeGen/CGObjCGNU.cpp 51 CategoryName + "_" + MethodNameColonStripped).str();
189 return (StringRef(CGM.getTriple().isOSBinFormatCOFF() ? "$_" : "._") + Name).str();
193 return (ManglePublicSymbol("OBJC_PROTOCOL_") + Name).str();
197 return (ManglePublicSymbol("OBJC_REF_PROTOCOL_") + Name).str();
948 return (ManglePublicSymbol("OBJC_WEAK_REF_CLASS_") + Name).str();
950 return (ManglePublicSymbol("OBJC_REF_CLASS_") + Name).str();
954 return (ManglePublicSymbol("OBJC_CLASS_") + Name).str();
1458 MangledTypes).str();
1497 Sym->setSection((Section + SecSuffix).str());
1499 Section).str()));
3769 (Twine(mainFile->getDir()->getName()) + "/" + mainFile->getName()).str();
tools/clang/lib/CodeGen/CGObjCMac.cpp 4926 return ("__DATA," + Section).str();
4927 return ("__DATA," + Section + "," + MachOAttributes).str();
4936 return ("." + Section.substr(2) + "$B").str();
6563 (Interface->getObjCRuntimeNameAsString() + "_$_" + OCD->getName()).str();
7249 return GetClassGlobal((prefix + ID->getObjCRuntimeNameAsString()).str(),
7328 ClassGV = GetClassGlobal((getClassSymbolPrefix() + II->getName()).str(),
7698 std::string EHTypeName = ("OBJC_EHTYPE_$_" + ClassName).str();
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 3154 std::string Prefix = Twine("gomp_critical_user_", CriticalName).str();
tools/clang/lib/CodeGen/CodeGenAction.cpp 522 std::string Message = D.getMsgStr().str();
613 Diags.Report(Loc, diag::err_fe_backend_unsupported) << D.getMessage().str();
632 Diags.Report(Loc, diag::warn_profile_data_misexpect) << D.getMsg().str();
tools/clang/lib/CodeGen/CodeGenModule.cpp 938 return (Twine('.') + Twine(Target.CPUSpecificManglingCharacter(Name))).str();
2890 GetGlobalValue((getMangledName(GD) + ".resolver").str()));
tools/clang/lib/CodeGen/TargetInfo.cpp 8097 Name = Twine(Twine(Name) + Twine("-")).str();
8099 Name = Twine(Twine(Name) + Twine("one-as")).str();
9952 llvm::MDString::get(C, (Twine("local_arg") + Twine(I)).str()));
tools/clang/lib/Driver/Driver.cpp 4599 Names.emplace_back((TargetTriple + "-" + Tool).str());
4605 Names.emplace_back((DefaultTargetTriple + "-" + Tool).str());
4631 SmallString<128> P((PrefixDir + Name).str());
tools/clang/lib/Driver/Multilib.cpp 147 Opposite.flags().push_back(("-" + Flag.substr(1)).str());
tools/clang/lib/Driver/ToolChains/Clang.cpp 3077 << ("-fdiagnostics-color=" + Value).str();
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp 68 Paths.push_back(Path.str());
tools/clang/lib/Driver/ToolChains/Darwin.cpp 1330 return (llvm::Twine(EnvVarName) + "=" + OSVersion).str();
tools/clang/lib/Driver/ToolChains/Fuchsia.cpp 227 return (Triple.getArchName() + "-" + Triple.getOSName()).str();
tools/clang/lib/Driver/ToolChains/Gnu.cpp 2409 GCCInstallPath = (LibDir + "/" + LibSuffix + "/" + VersionText).str();
2410 GCCParentLibPath = (GCCInstallPath + "/../" + Suffix.ReversePath).str();
tools/clang/lib/Driver/ToolChains/Linux.cpp 240 .str());
271 "/../bin").str());
479 std::string AndroidSysRootPath = (ClangDir + "/../sysroot").str();
497 .str();
502 Path = (InstallDir + "/../../../../sysroot" + Multilib.osSuffix()).str();
608 Loader = ("ld-linux-riscv32-" + ABIName + ".so.1").str();
614 Loader = ("ld-linux-riscv64-" + ABIName + ".so.1").str();
885 return MaxVersion ? (base + "/" + MaxVersionString).str() : "";
tools/clang/lib/Driver/ToolChains/MSVC.cpp 1352 Triple.setEnvironmentName((Twine("msvc") + MSVT.getAsString()).str());
1355 (Twine("msvc") + MSVT.getAsString() + Twine('-') + ObjFmt).str());
tools/clang/lib/Driver/ToolChains/MinGW.cpp 364 return (ClangRoot + Sep + CandidateSubdir).str();
393 (Base + Arch + llvm::sys::path::get_separator() + "lib").str());
tools/clang/lib/Driver/ToolChains/RISCVToolchain.cpp 35 (GCCInstallation.getParentLibPath() + "/../bin").str());
tools/clang/lib/Driver/ToolChains/WebAssembly.cpp 32 TargetTriple.getOSAndEnvironmentName()).str();
tools/clang/lib/Format/BreakableToken.cpp 942 assert(Prefix[LineIndex] == (OriginalPrefix[LineIndex] + " ").str() &&
tools/clang/lib/Format/ContinuationIndenter.cpp 1521 std::string CanonicalDelimiterSuffix = (")" + NewDelimiter + "\"").str();
tools/clang/lib/Frontend/ASTUnit.cpp 134 this->Output = Output.str();
tools/clang/lib/Frontend/CompilerInstance.cpp 2010 std::string ModuleMapFileName = (CleanModuleName + ".map").str();
tools/clang/lib/Frontend/PrecompiledPreamble.cpp 562 return TempPCHFile(Path.str());
tools/clang/lib/Lex/ModuleMap.cpp 1108 Mod->UmbrellaAsWritten = NameAsWritten.str();
1119 Mod->UmbrellaAsWritten = NameAsWritten.str();
tools/clang/lib/Lex/PPDirectives.cpp 1608 ReplaceRange, (ImportKeyword + " " + PathString + ";").str());
tools/clang/lib/Lex/PPMacroExpansion.cpp 1423 (llvm::Twine("unknown-unknown-") + II->getName().lower()).str();
1435 std::string EnvName = (llvm::Twine("---") + II->getName().lower()).str();
tools/clang/lib/Parse/ParsePragma.cpp 1010 std::string ClangLoopStr = (llvm::Twine("clang loop ") + Str).str();
tools/clang/lib/Sema/SemaCodeComplete.cpp 7608 std::string SelectorName = (Twine("is") + UpperKey).str();
7627 std::string SelectorName = (Twine("set") + UpperKey).str();
7678 std::string SelectorName = (Twine("countOf") + UpperKey).str();
7700 std::string SelectorName = (Twine("objectIn") + UpperKey + "AtIndex").str();
7727 std::string SelectorName = (Twine(Property->getName()) + "AtIndexes").str();
7748 std::string SelectorName = (Twine("get") + UpperKey).str();
7780 std::string SelectorName = (Twine("in") + UpperKey + "AtIndex").str();
7810 std::string SelectorName = (Twine("insert") + UpperKey).str();
7840 (Twine("removeObjectFrom") + UpperKey + "AtIndex").str();
7861 std::string SelectorName = (Twine("remove") + UpperKey + "AtIndexes").str();
7883 (Twine("replaceObjectIn") + UpperKey + "AtIndex").str();
7913 (Twine("replace") + UpperKey + "AtIndexes").str();
7914 std::string SelectorName2 = (Twine("with") + UpperKey).str();
7950 std::string SelectorName = (Twine("enumeratorOf") + UpperKey).str();
7969 std::string SelectorName = (Twine("memberOf") + UpperKey).str();
7999 (Twine("add") + UpperKey + Twine("Object")).str();
8021 std::string SelectorName = (Twine("add") + UpperKey).str();
8043 (Twine("remove") + UpperKey + Twine("Object")).str();
8065 std::string SelectorName = (Twine("remove") + UpperKey).str();
8086 std::string SelectorName = (Twine("intersect") + UpperKey).str();
8115 (Twine("keyPathsForValuesAffecting") + UpperKey).str();
8136 (Twine("automaticallyNotifiesObserversOf") + UpperKey).str();
tools/clang/lib/Sema/SemaDecl.cpp 9683 << Feature << ("no-" + BareFeat).str();
tools/clang/lib/Sema/SemaDeclAttr.cpp 7900 .str());
tools/clang/lib/Sema/SemaDeclObjC.cpp 896 (newVarianceStr + " ").str());
tools/clang/lib/Sema/SemaObjCProperty.cpp 1884 (Twine("@synthesize ") + Prop->getName() + ";\n\n").str();
tools/clang/lib/Serialization/GlobalModuleIndex.cpp 917 (IndexPath + "-%%%%%%%%").str(), IndexPath,
tools/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp 366 .str();
376 " " + *Str2).str();
384 return (Twine("(") + S->getType().getAsString() + ")" + *Str).str();
tools/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp 321 .str();
tools/clang/lib/StaticAnalyzer/Checkers/ObjCAutoreleaseWriteChecker.cpp 138 + " autoreleasing out parameter inside autorelease pool").str(),
144 .str(),
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp 1492 (StringRef("osx.cocoa.RetainCount:") + Postfix).str());
tools/clang/lib/StaticAnalyzer/Checkers/RunLoopAutoreleaseLeakChecker.cpp 127 .str(),
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp 597 .str();
tools/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp 127 Config.find((Twine(CheckerName) + ":" + OptionName).str());
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp 334 llvm::getOrdinalSuffix(ArgIndex) + " parameter").str();
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp 1750 (Twine() + "Tracking condition '" + ConditionText + "'").str());
tools/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp 68 << (llvm::Twine() + C->getTagDescription() + ":" + OptionName).str()
tools/clang/lib/StaticAnalyzer/Core/IssueHash.cpp 193 .str();
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp 673 ArrayIndices = (llvm::Twine("[") + Idx.str() + "]" + ArrayIndices).str();
680 ArrayIndices = (llvm::Twine("[") + Idx + "]" + ArrayIndices).str();
690 return (llvm::Twine("'") + os.str() + ArrayIndices + "'").str();
692 return (llvm::Twine(os.str()) + ArrayIndices).str();
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp 82 Ret += Twine("/" + Root).str();
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp 317 std::string FullOption = (FullName + ":" + Option.OptionName).str();
549 ("(Enable only for development!) " + Checker.Desc).str());
596 std::string FullOption = (Entry.first + ":" + Option.OptionName).str();
601 .str();
617 llvm::Twine("(Enable only for development!) " + Desc).str());
tools/clang/lib/Tooling/AllTUsExecution.cpp 92 ErrorMsg += Err.str();
97 llvm::errs() << Msg.str() << "\n";
tools/clang/lib/Tooling/CompilationDatabase.cpp 116 SourceFile + "\"\n" + ErrorMessage).str();
130 SourceDir + "\"\n" + ErrorMessage).str();
tools/clang/lib/Tooling/Core/Lookup.cpp 176 Disambiguated = (UnspelledScopes.back() + "::" + Disambiguated).str();
tools/clang/lib/Tooling/Core/Replacement.cpp 208 (Prev.getReplacementText() + R.getReplacementText()).str());
275 if ((R.getReplacementText() + I->getReplacementText()).str() !=
276 (I->getReplacementText() + R.getReplacementText()).str())
282 (R.getReplacementText() + I->getReplacementText()).str());
390 Text = (Head + R.getReplacementText() + Tail).str();
396 Text = (Text + Tail).str();
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp 60 CWD = Path.str();
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp 230 LangStandard::getLangStandardForKind(Std).getName()).str());
tools/clang/lib/Tooling/JSONCompilationDatabase.cpp 398 KeyString->getRawValue() + "\"").str();
tools/clang/lib/Tooling/Refactoring/AtomicChange.cpp 155 : ("\"" + Header + "\"").str();
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp 548 : ("::" + NewName).str());
tools/clang/lib/Tooling/Tooling.cpp 170 Args.push_back(ToolName.str());
tools/clang/lib/Tooling/Transformer/RewriteRule.cpp 93 std::string Tag = (TagBase + Twine(Case.first)).str();
171 std::string Tag = ("Tag" + Twine(i)).str();
tools/clang/lib/Tooling/Transformer/SourceCodeBuilders.cpp 69 return ("(" + Text + ")").str();
90 return ("*(" + Text + ")").str();
91 return ("*" + Text).str();
110 return ("&(" + Text + ")").str();
112 return ("&" + Text).str();
125 return ("(" + DerefText + ")->").str();
126 return (DerefText + "->").str();
134 return ("(" + Text + ").").str();
136 return (Text + ".").str();
149 return ("(" + DerefText + ").").str();
150 return (DerefText + ".").str();
158 return ("(" + Text + ")->").str();
159 return (Text + "->").str();
tools/clang/lib/Tooling/Transformer/Stencil.cpp 106 return (llvm::Twine("dPrint(\"") + Data.Id + "\")").str();
122 return (OpName + "(\"" + Data.Id + "\")").str();
130 .str();
136 .str();
tools/clang/lib/Tooling/Transformer/Transformer.cpp 66 AC.addHeader((llvm::Twine("<") + Header + ">").str());
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 28 Result += ("::" + *I).str();
235 return ("::" + DeclName).str();
249 .str();
260 .str();
386 .str();
795 const std::string NewNs = (NewNamespace + Postfix).str();
849 (AliasName + "::" + FromDeclNameRef).str();
tools/clang/tools/extra/clang-doc/HTMLGenerator.cpp 78 : HTMLNode(NodeType::NODE_TEXT), Text(Text.str()) {}
87 Children.emplace_back(std::make_unique<TextNode>(Text.str()));
304 LinkNode->Attributes.emplace_back("href", Link.str());
323 Path += ("#" + JumpToSection.getValue()).str();
452 "href", (FileURL + "#" + std::to_string(L.LineNumber)).str());
725 InfoTitle = ("namespace " + I.Name).str();
764 InfoTitle = (getTagType(I.TagType) + " " + I.Name).str();
tools/clang/tools/extra/clang-doc/MDGenerator.cpp 24 return "*" + Text.str() + "*";
28 return "**" + Text.str() + "**";
74 std::string Direction = I.Explicit ? (" " + I.Direction).str() : "";
77 std::string Direction = I.Explicit ? (" " + I.Direction).str() : "";
tools/clang/tools/extra/clang-move/Move.cpp 558 const auto HasName = hasName(("::" + GlobalSymbolName).str());
698 IsAngled ? ("#include <" + IncludeHeader + ">\n").str()
699 : ("#include \"" + IncludeHeader + "\"\n").str();
tools/clang/tools/extra/clang-query/Query.h 54 InvalidQuery(const Twine &ErrStr) : Query(QK_Invalid), ErrStr(ErrStr.str()) {}
tools/clang/tools/extra/clang-query/QueryParser.cpp 82 (CaseStr.substr(WordCompletionPos) + " ").str(), CaseStr));
tools/clang/tools/extra/clang-reorder-fields/ReorderFieldsAction.cpp 191 .str();
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp 347 std::string ClangTidyCheckName((AnalyzerCheckNamePrefix + CheckName).str());
360 std::string ClangTidyCheckName((AnalyzerCheckNamePrefix + CheckName).str());
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp 164 Level, (Description + " [" + CheckName + "]").str());
tools/clang/tools/extra/clang-tidy/ClangTidyProfiling.cpp 38 .str();
tools/clang/tools/extra/clang-tidy/abseil/DurationAdditionCheck.cpp 55 .str());
65 .str());
tools/clang/tools/extra/clang-tidy/abseil/DurationComparisonCheck.cpp 54 .str());
tools/clang/tools/extra/clang-tidy/abseil/DurationConversionCastCheck.cpp 64 .str());
79 .str());
tools/clang/tools/extra/clang-tidy/abseil/DurationFactoryFloatCheck.cpp 64 .str())
tools/clang/tools/extra/clang-tidy/abseil/DurationFactoryScaleCheck.cpp 214 .str());
227 .str());
tools/clang/tools/extra/clang-tidy/abseil/DurationRewriter.cpp 284 .str();
302 .str();
tools/clang/tools/extra/clang-tidy/abseil/DurationSubtractionCheck.cpp 56 .str());
tools/clang/tools/extra/clang-tidy/abseil/DurationUnnecessaryConversionCheck.cpp 25 std::string DurationFactory = (llvm::Twine("::absl::") + Scale).str();
27 (llvm::Twine("::absl::ToDouble") + Scale).str();
29 (llvm::Twine("::absl::ToInt64") + Scale).str();
tools/clang/tools/extra/clang-tidy/abseil/StringFindStartswithCheck.cpp 99 .str());
104 .str());
tools/clang/tools/extra/clang-tidy/abseil/TimeComparisonCheck.cpp 56 .str());
tools/clang/tools/extra/clang-tidy/abseil/TimeSubtractionCheck.cpp 97 std::string TimeInverse = (llvm::Twine("ToUnix") + ScaleName).str();
102 functionDecl(hasName((llvm::Twine("::absl::") + TimeInverse).str()))
156 .str());
182 .str());
193 .str());
tools/clang/tools/extra/clang-tidy/android/CloexecAcceptCheck.cpp 36 .str();
tools/clang/tools/extra/clang-tidy/android/CloexecCheck.cpp 32 .str();
35 return ("\"" + SR + Twine(Mode) + "\"").str();
71 << FixItHint::CreateInsertion(EndLoc, (Twine(" | ") + MacroFlag).str());
tools/clang/tools/extra/clang-tidy/android/CloexecCreatCheck.cpp 34 .str();
tools/clang/tools/extra/clang-tidy/android/CloexecDupCheck.cpp 28 .str();
tools/clang/tools/extra/clang-tidy/android/CloexecPipeCheck.cpp 27 (Twine("pipe2(") + getSpellingArg(Result, 0) + ", O_CLOEXEC)").str();
tools/clang/tools/extra/clang-tidy/boost/UseToStringCheck.cpp 69 (llvm::Twine("std::to_") + StringType + "(").str());
tools/clang/tools/extra/clang-tidy/bugprone/ArgumentCommentCheck.cpp 304 Comment.first, (Matches[1] + II->getName() + Matches[3]).str());
319 (llvm::Twine("/*") + II->getName() + "=*/").str();
tools/clang/tools/extra/clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.cpp 102 (StrLenBegin + LHSText + StrLenEnd + " + " + RHSText).str());
tools/clang/tools/extra/clang-tidy/bugprone/MoveForwardingReferenceCheck.cpp 38 : (llvm::Twine("decltype(") + ParmVar->getName() + ")").str();
41 (llvm::Twine("forward<") + TypeName + ">").str();
tools/clang/tools/extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp 317 (Twine(NewLength) + (isInjectUL(Result) ? "UL" : "")).str());
454 NewSecondArg = Twine(IsOverflows ? DestLength + 1 : DestLength).str();
459 .str();
487 .str();
tools/clang/tools/extra/clang-tidy/bugprone/PosixReturnCheck.cpp 69 << FixItHint::CreateReplacement(OperatorLoc, Twine(">").str());
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousStringCompareCheck.cpp 96 .str());
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.cpp 79 std::string CastText = ("dynamic_cast<" + DestTypeString + ">").str();
tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp 149 ReplaceWithCast((CastType + "<" + DestTypeString + ">").str());
175 ReplaceWithCast(("static_cast<" + DestTypeString + ">").str());
tools/clang/tools/extra/clang-tidy/google/IntegerTypesCheck.cpp 143 .str();
tools/clang/tools/extra/clang-tidy/google/TodoCommentCheck.cpp 39 std::string NewText = ("// TODO(" + Twine(User) + "): " + Comment).str();
tools/clang/tools/extra/clang-tidy/misc/RedundantExpressionCheck.cpp 338 std::string CstId = (Id + "-const").str();
348 std::string CstId = (Id + "-const").str();
363 std::string SymId = (Id + "-sym").str();
372 std::string SymId = (Id + "-sym").str();
414 std::string CastId = (Id + "-cast").str();
415 std::string SwapId = (Id + "-swap").str();
416 std::string NegateId = (Id + "-negate").str();
417 std::string OverloadId = (Id + "-overload").str();
497 std::string CastId = (Id + "-cast").str();
498 std::string SwapId = (Id + "-swap").str();
499 std::string NegateId = (Id + "-negate").str();
500 std::string OverloadId = (Id + "-overload").str();
tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp 132 StaticAssertMSG = (Twine(", \"") + AssertMSG->getString() + "\"").str();
tools/clang/tools/extra/clang-tidy/misc/UnusedParametersCheck.cpp 155 RemovalRange, (Twine(" /*") + Param->getName() + "*/").str());
tools/clang/tools/extra/clang-tidy/modernize/DeprecatedHeadersCheck.cpp 108 (llvm::Twine("<") + CStyledHeaderToCxx[FileName] + ">").str();
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp 647 .str();
tools/clang/tools/extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp 35 return (WrittenName + "[]").str();
248 .str());
tools/clang/tools/extra/clang-tidy/modernize/RawStringLiteralCheck.cpp 80 return (R"(R"()" + Bytes + R"lit()")lit").str();
82 return (R"(R")" + Delimiter + "(" + Bytes + ")" + Delimiter + R"(")").str();
tools/clang/tools/extra/clang-tidy/modernize/RedundantVoidArgCheck.cpp 142 ("redundant void argument list in " + GrammarLocation).str();
tools/clang/tools/extra/clang-tidy/modernize/UseOverrideCheck.cpp 123 .str();
tools/clang/tools/extra/clang-tidy/modernize/UseTransparentFunctorsCheck.cpp 88 << (FuncClass->getName() + "<>").str();
125 diag(ReportLoc, Message) << (FuncClass->getName() + "<>").str()
tools/clang/tools/extra/clang-tidy/mpi/TypeMismatchCheck.cpp 162 BufferTypeName = (llvm::Twine(Builtin->getName(LO)) + " _Complex").str();
196 (llvm::Twine("complex<") + Builtin->getName(LO) + ">").str();
tools/clang/tools/extra/clang-tidy/performance/InefficientAlgorithmCheck.cpp 151 .str();
tools/clang/tools/extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp 231 std::string MutableFieldName = ("mutable_" + FieldName).str();
250 ReserveSize = (RangeInitExpName + ".size()").str();
265 (VarName + PartialReserveStmt + "(" + ReserveSize + ");\n").str();
tools/clang/tools/extra/clang-tidy/performance/TypePromotionInMathFnCheck.cpp 179 NewFnName = ("std::" + OldFnName).str();
182 NewFnName = (OldFnName + "f").str();
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp 31 .str();
tools/clang/tools/extra/clang-tidy/portability/SIMDIntrinsicsCheck.cpp 144 Message = (Twine("'") + Old + "' can be replaced by " + New).str();
147 llvm::Regex("\\$simd").sub((Std.str() + "::simd").str(), Message);
151 .str();
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp 182 fromString(Options.get((Name + "Case").str(), ""));
183 auto prefix = Options.get((Name + "Prefix").str(), "");
184 auto postfix = Options.get((Name + "Suffix").str(), "");
223 Options.store(Opts, (StyleNames[i] + "Case").str(),
226 Options.store(Opts, (StyleNames[i] + "Prefix").str(),
228 Options.store(Opts, (StyleNames[i] + "Suffix").str(),
391 return (Style.Prefix + Mid + Style.Suffix).str();
tools/clang/tools/extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp 187 .str());
tools/clang/tools/extra/clang-tidy/readability/IsolateDeclarationCheck.cpp 242 .str();
270 .str());
tools/clang/tools/extra/clang-tidy/readability/NamespaceCommentCheck.cpp 167 .str();
tools/clang/tools/extra/clang-tidy/readability/RedundantSmartptrGetCheck.cpp 150 std::string Replacement = Twine(IsPtrToPtr ? "*" : "", SmartptrText).str();
tools/clang/tools/extra/clang-tidy/readability/RedundantStringCStrCheck.cpp 59 return (llvm::Twine("*(") + Text + ")").str();
61 return (llvm::Twine("*") + Text).str();
tools/clang/tools/extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp 132 return ("static_cast<bool>(" + text + ")").str();
178 .str();
237 .str(),
242 return ("!(" + Text + ")").str();
605 std::string Replacement = ("return " + Condition + Terminator).str();
662 (VariableName + " = " + Condition + Terminator).str();
tools/clang/tools/extra/clang-tidy/utils/IncludeSorter.cpp 116 IsAngled ? llvm::Twine("#include <" + FileName + ">\n").str()
117 : llvm::Twine("#include \"" + FileName + "\"\n").str();
tools/clang/tools/extra/clang-tidy/utils/NamespaceAliaser.cpp 70 .str();
tools/clang/tools/extra/clang-tidy/utils/UsingInserter.cpp 71 (llvm::Twine("\nusing ") + QualifiedName + ";").str();
tools/clang/tools/extra/clangd/AST.cpp 145 return ("(anonymous " + Cls->getKindName() + ")").str();
tools/clang/tools/extra/clangd/CodeComplete.cpp 536 (AS + (UnresolvedQualifier ? *UnresolvedQualifier : "")).str());
tools/clang/tools/extra/clangd/Diagnostics.cpp 153 D.Message = llvm::Twine("in included file: ", D.Message).str();
407 Diag.Name = ("-W" + Warning).str();
tools/clang/tools/extra/clangd/FS.cpp 103 if (auto S = StatCache.lookup(Path.str()))
tools/clang/tools/extra/clangd/FindSymbols.cpp 102 SymbolInformation Info = {(Sym.Name + Sym.TemplateSpecializationArgs).str(),
tools/clang/tools/extra/clangd/Format.cpp 160 .str();
tools/clang/tools/extra/clangd/GlobalCompilationDatabase.cpp 46 Cmd.CommandLine.push_back(("-resource-dir=" + ResourceDir).str());
tools/clang/tools/extra/clangd/Headers.cpp 43 (IsAngled ? "<" + FileName + ">" : "\"" + FileName + "\"").str();
tools/clang/tools/extra/clangd/IncludeFixer.cpp 207 Result.append(("::" + IDTok->getRawIdentifier()).str());
258 std::string Spelling = (Code.substr(B, E - B) + "::").str();
297 Result.UnresolvedScope->append((Result.Name + Split.first).str());
tools/clang/tools/extra/clangd/SourceCode.cpp 915 UsingDirectives[Current].insert((Enclosing + "::" + NS).str());
tools/clang/tools/extra/clangd/Threading.cpp 95 Name.str(), std::move(Action), std::move(CleanupTask))
tools/clang/tools/extra/clangd/Trace.cpp 208 T->instant("Log", llvm::json::Object{{"Message", Message.str()}});
217 : llvm::StringRef(Name.str()),
tools/clang/tools/extra/clangd/URI.cpp 210 ("Not a valid absolute path: " + AbsolutePath).str().c_str());
244 llvm_unreachable(("Not a valid absolute path: " + AbsPath).str().c_str());
tools/clang/tools/extra/clangd/XRefs.cpp 467 return ("(anonymous " + RD->getKindName() + ")").str();
751 .str();
tools/clang/tools/extra/clangd/index/CanonicalIncludes.cpp 78 : ("\"" + Text + "\"").str());
tools/clang/tools/extra/clangd/index/dex/dexp/Dexp.cpp 67 std::string SymQualifiedName = (Sym.Scope + Sym.Name).str();
tools/clang/tools/extra/clangd/refactor/tweaks/AnnotateHighlightings.cpp 70 ("/* " + toTextMateScope(Token.Kind) + " */").str());
tools/clang/tools/extra/clangd/refactor/tweaks/RawStringLiteral.cpp 94 ("R\"(" + Str->getBytes() + ")\"").str(),
tools/clang/tools/extra/clangd/unittests/ClangdTests.cpp 912 ++CountStats[llvm::sys::path::filename(Path.str())];
916 ++CountStats[llvm::sys::path::filename(Path.str())];
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp 666 std::string SearchDirArg = (Twine("-I") + Subdir).str();
2342 std::string SearchDirArg = (Twine("-I") + Subdir).str();
tools/clang/tools/extra/clangd/unittests/FileIndexTests.cpp 48 MATCHER_P(QName, N, "") { return (arg.Scope + arg.Name).str() == N; }
150 File.Filename = (Basename + ".cpp").str();
151 File.HeaderFilename = (Basename + ".h").str();
tools/clang/tools/extra/clangd/unittests/HeadersTests.cpp 123 std::string SearchDirArg = (llvm::Twine("-I") + Subdir).str();
224 SearchDirArg = (llvm::Twine("-I") + Subdir + "/..").str();
tools/clang/tools/extra/clangd/unittests/SerializationTests.cpp 97 MATCHER_P(QName, Name, "") { return (arg.Scope + arg.Name).str() == Name; }
tools/clang/tools/extra/clangd/unittests/SymbolCollectorTests.cpp 49 return (arg.Name + arg.Signature).str() == Label;
54 return (arg.Name + arg.CompletionSnippetSuffix).str() == S;
56 MATCHER_P(QName, Name, "") { return (arg.Scope + arg.Name).str() == Name; }
611 (Main.code() + SymbolsOnlyInMainCode.code()).str());
tools/clang/tools/extra/clangd/unittests/TestIndex.cpp 91 return (Sym.Scope + Sym.Name + Sym.TemplateSpecializationArgs).str();
tools/clang/tools/extra/clangd/unittests/TestTU.cpp 100 if (QName != (S.Scope + S.Name).str())
tools/clang/tools/extra/clangd/unittests/TweakTesting.cpp 40 return (Wrapping.first + Inner + Wrapping.second).str();
67 (TweakID + (negation ? " is unavailable" : " is available")).str()) {
144 Cases.push_back((Code.substr(0, Offset) + "^" + Code.substr(Offset)).str());
151 .str());
tools/clang/tools/extra/clangd/unittests/XRefsTests.cpp 2150 TU.Code = ("\n\n" + Main.code()).str();
tools/clang/tools/extra/unittests/clang-tidy/ClangTidyTest.h 100 std::string extension(llvm::sys::path::extension(Filename.str()));
110 Args.push_back(Filename.str());
tools/clang/tools/libclang/CXLoadedDiagnostic.cpp 115 *Disable = cxstring::createDup((Twine("-Wno-") + DiagOption).str());
116 return cxstring::createDup((Twine("-W") + DiagOption).str());
tools/clang/tools/libclang/CXStoredDiagnostic.cpp 57 *Disable = cxstring::createDup((Twine("-Wno-") + Option).str());
58 return cxstring::createDup((Twine("-W") + Option).str());
tools/clang/unittests/AST/MatchVerifier.h 66 VerifyResult = Result.str();
tools/clang/unittests/Format/FormatTest.cpp 99 verifyFormat(llvm::Twine("void f() { " + text + " }").str());
tools/clang/unittests/Frontend/PCHPreambleTest.cpp 43 auto it = ReadCounts.find(Path.str());
tools/clang/unittests/Tooling/CompilationDatabaseTest.cpp 136 .str(),
161 .str(),
201 "\"file\":\"" + FileName + "\"}]").str(),
301 "\"file\":\"" + FileName + "\"}]").str(),
315 "\"file\":\"" + FileName + "\"}]").str(),
330 "\"file\":\"" + FileName + "\"}]").str(),
347 "\"file\":\"" + FileName + "\"}]").str(),
362 "\"file\":\"" + FileName + Twine(I) + "\"}").str();
401 Command + "\"}]").str();
tools/clang/unittests/Tooling/SourceCodeBuildersTest.cpp 31 .str();
tools/clang/unittests/Tooling/StencilTest.cpp 35 .str();
tools/clang/unittests/Tooling/TestVisitor.h 187 : ExpectedName(Name.str()), LineNumber(LineNumber),
tools/clang/unittests/Tooling/TransformerTest.cpp 85 std::string Code = ("#include \"header.h\"\n" + Input).str();
tools/clang/utils/TableGen/ClangAttrEmitter.cpp 2052 ("isAttributeSubjectMatchSubRuleFor_" + Rule.getName()).str();
3319 return ("\"" + Twine(CustomDiag) + "\"").str();
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp 1730 G->getValueAsString("GroupName")).str(),
tools/clang/utils/TableGen/ClangOptionDocEmitter.cpp 261 Args.push_back(("<arg" + Twine(Args.size() + 1) + ">").str());
320 getSphinxOptionID((Prefix + Option->getValueAsString("Name")).str()));
tools/clang/utils/TableGen/ClangSACheckersEmitter.cpp 91 .str();
tools/clang/utils/TableGen/MveEmitter.cpp 807 Suffix = (Twine(", ") + IA.ExtraCheckArgs).str();
811 .str());
820 .str();
1100 FullName = (Twine(BaseName) + Param->acleSuffix()).str();
1190 (Twine("CustomCodeGen::") + MainOp->getValueAsString("type")).str();
tools/clang/utils/TableGen/NeonEmitter.cpp 1997 ("Intrinsic '" + Name + "' not found!").str());
tools/dsymutil/DwarfLinker.cpp 2310 .str();
tools/dsymutil/MachODebugMapParser.cpp 115 (*--Result->end())->addWarning(Msg.str());
344 ArchName = ("arm" + Arch.substr(5)).str();
tools/dsymutil/MachOUtils.cpp 52 return (llvm::Twine("arm") + Arch.drop_front(5)).str();
tools/dsymutil/SymbolMap.cpp 115 .str();
tools/dsymutil/dsymutil.cpp 403 return OutputLocation((InputFile + ".dwarf").str());
tools/gold/gold-plugin.cpp 687 return (Path + NewSuffix).str();
tools/llc/llc.cpp 512 (Twine(argv[0]) + Twine(": ") + Twine(InputFilename)).str();
tools/lld/COFF/Driver.cpp 107 return (sys::path::stem(path) + (config->dll ? ".dll" : ".exe")).str();
707 return (outFile.substr(0, outFile.rfind('.')) + ".map").str();
tools/lld/COFF/InputFiles.cpp 65 .str();
515 .str());
958 return (path + repl).str();
tools/lld/COFF/MinGW.cpp 131 if (symtab->find(("__imp_" + sym->getName()).str()))
tools/lld/COFF/PDB.cpp 1687 ExitOnError exitOnErr((config->pdbPath + ": ").str());
tools/lld/COFF/SymbolTable.cpp 241 Symbol *l = find(("__imp_" + name).str());
254 return dyn_cast_or_null<Defined>(find(("__imp_" + name).str()));
292 dyn_cast_or_null<DefinedRegular>(find((".refptr." + name).str()));
725 return find(("_" + name).str());
755 std::string prefix = t.str();
tools/lld/COFF/Symbols.cpp 42 return (prefix + prefixless).str();
tools/lld/COFF/Writer.cpp 713 (sc1->file->parentName + "/" + sc1->file->getName()).str();
715 (sc2->file->parentName + "/" + sc2->file->getName()).str();
tools/lld/Common/ErrorHandler.cpp 37 if (StringRef(msg.str()).contains('\n'))
133 std::string str = msg.str();
180 std::string str = msg.str();
tools/lld/Common/Reproduce.cpp 47 return ("\"" + s + "\"").str();
tools/lld/Common/Strings.cpp 77 raw_fd_ostream os(path.str(), ec, sys::fs::OpenFlags::OF_None);
tools/lld/ELF/Arch/MipsArchTree.cpp 265 return (arch + " (" + mach + ")").str();
tools/lld/ELF/DriverUtils.cpp 148 outs(), (config->progName + " [options] file...").str().c_str(), "lld",
tools/lld/ELF/InputFiles.cpp 49 f->toStringCache = (f->archiveName + "(" + f->getName() + ")").str();
1563 return (path + repl).str();
tools/lld/ELF/InputSection.cpp 43 return (toString(sec->file) + ":(" + sec->name + ")").str();
296 std::string secAndOffset = (name + "+0x" + utohexstr(offset)).str();
301 .str();
355 .str();
tools/lld/ELF/LinkerScript.cpp 328 return (file->archiveName + "(" + file->getName() + ")").str();
tools/lld/ELF/LinkerScript.h 43 : sec(sec), forceAbsolute(forceAbsolute), val(val), loc(loc.str()) {}
tools/lld/ELF/MarkLive.cpp 309 if (symtab->find(("__start_" + sec->name).str()) ||
310 symtab->find(("__stop_" + sec->name).str()))
tools/lld/ELF/Relocations.cpp 730 std::string newName = (name.substr(0, i) + "0" + name.substr(i)).str();
757 newName = (name.substr(0, i) + name.substr(i + 1)).str();
805 .str();
tools/lld/ELF/ScriptLexer.cpp 68 return (filename + ":" + Twine(getLineNumber())).str();
78 std::string s = (getCurrentLocation() + ": " + msg).str();
268 if (consume((tok + ":").str()))
tools/lld/ELF/SymbolTable.cpp 192 return ("version '" + config->versionDefinitions[ver].name + "'").str();
tools/lld/ELF/Target.cpp 42 return ("Unknown (" + Twine(type) + ")").str();
tools/lld/ELF/Target.h 202 " out of range: " + v.str() + " is not in [" + Twine(min).str() +
202 " out of range: " + v.str() + " is not in [" + Twine(min).str() +
203 ", " + Twine(max).str() + "]" + hint);
tools/lld/MinGW/Driver.cpp 197 auto add = [&](const Twine &s) { linkArgs.push_back(s.str()); };
tools/lld/include/lld/Common/ErrorHandler.h 156 inline std::string toString(const Twine &s) { return s.str(); }
tools/lld/include/lld/Core/File.h 74 _archiveMemberPath = (_archivePath + "(" + _path + ")").str();
tools/lld/lib/Core/Error.cpp 86 GenericError::GenericError(Twine Msg) : Msg(Msg.str()) { }
tools/lld/lib/ReaderWriter/FileArchive.cpp 145 + mb.getBufferIdentifier() + ")").str();
tools/lld/lib/ReaderWriter/MachO/LayoutPass.cpp 36 .str();
118 .str()
127 .str()
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp 696 std::string strName = name.str();
tools/lld/lib/ReaderWriter/MachO/SectCreateFile.h 30 _combinedName((segName + "/" + sectName).str()),
tools/lld/wasm/InputChunks.cpp 36 return (toString(c->file) + ":(" + c->getName() + ")").str();
tools/lld/wasm/InputEvent.h 57 return (toString(e->file) + ":(" + e->getName() + ")").str();
tools/lld/wasm/InputFiles.cpp 39 return (file->archiveName + "(" + file->getName() + ")").str();
tools/lld/wasm/InputGlobal.h 50 return (toString(g->file) + ":(" + g->getName() + ")").str();
tools/lld/wasm/OutputSections.cpp 29 return (sec.getSectionName() + "(" + sec.name + ")").str();
tools/lld/wasm/SymbolTable.cpp 673 .str();
tools/lldb/include/lldb/Utility/Environment.h 79 return (KeyValue.first() + "=" + KeyValue.second).str();
tools/lldb/source/Commands/CommandCompletions.cpp 229 std::string partial_name_str = partial_name.str();
tools/lldb/source/Host/common/FileSystem.cpp 447 return path.str();
454 return path.str();
tools/lldb/source/Host/common/HostInfoBase.cpp 239 raw_path = (parent_path + dir).str();
tools/lldb/source/Host/linux/Support.cpp 18 .str();
28 std::string File = ("/proc/" + llvm::Twine(pid) + "/" + file).str();
38 std::string File = ("/proc/" + file).str();
tools/lldb/source/Host/posix/PipePosix.cpp 130 llvm::SmallString<128> pipe_spec((prefix + ".%%%%%%").str());
tools/lldb/source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp 441 return ("r" + llvm::Twine(m_index + 3)).str();
443 return ("f" + llvm::Twine(m_index + 1)).str();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangHost.cpp 36 clang_path.str().c_str());
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp 2228 mangled.SetMangledName(ConstString((mangled_name + suffix).str()));
2234 mangled.SetDemangledName(ConstString((demangled_name + suffix).str()));
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp 2823 std::string buffer_key = (xfer_object + xfer_action + xfer_annex).str();
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp 530 (llvm::StringRef(prefix) + ".%%%%%%").str());
tools/lldb/source/Symbol/Variable.cpp 550 request.AddCompletion((prefix_path + member_name).str());
582 request.AddCompletion(prefix_path.str());
588 if (prefix_path.str().back() != '.')
589 request.AddCompletion((prefix_path + ".").str());
599 request.AddCompletion((prefix_path + "->").str());
601 request.AddCompletion(prefix_path.str());
624 if (prefix_path.str().empty()) {
639 !prefix_path.str().empty()) {
733 request.AddCompletion((prefix_path + variable_name).str());
736 request.AddCompletion((prefix_path + variable_name).str());
tools/lldb/source/Utility/Log.cpp 317 OS << llvm::formatv("{0,-60:60} ", (file + ":" + function).str());
tools/lldb/source/Utility/Reproducer.cpp 247 .str();
tools/lldb/source/Utility/ReproducerInstrumentation.cpp 93 .str();
tools/lldb/unittests/Host/FileSystemTest.cpp 51 FilesAndDirs.find(Path.str());
67 cwd = Path.str();
73 auto I = FilesAndDirs.find(Path.str());
101 Path(_Path.str()) {
tools/lldb/unittests/Interpreter/TestCompletion.cpp 151 std::string Prefixes[] = {(Twine(BaseDir) + "/").str(), ""};
tools/lldb/unittests/Utility/ProcessInstanceInfoTest.cpp 21 return ("user" + llvm::Twine(uid)).str();
27 return ("group" + llvm::Twine(gid)).str();
tools/lldb/unittests/tools/lldb-server/tests/TestClient.cpp 73 args.AppendArgument(("--log-file=" + Log).str());
87 ("127.0.0.1:" + Twine(listen_socket.GetLocalPortNumber())).str());
tools/llvm-ar/llvm-ar.cpp 147 std::string ContextStr = Context.str();
158 std::string ContextStr = Context.str();
tools/llvm-cfi-verify/lib/FileAnalysis.cpp 384 .str());
tools/llvm-config/llvm-config.cpp 398 (SharedPrefix + "LLVM-" + SharedVersionedExt).str();
406 std::string path((SharedDir + DirSep + DyLibName).str());
454 LibFileName = (SharedPrefix + Lib + "." + SharedExt).str();
458 LibFileName = (StaticPrefix + Lib + "." + StaticExt).str();
467 return (SharedDir + DirSep + LibFileName).str();
469 return (StaticDir + DirSep + LibFileName).str();
tools/llvm-cov/CodeCoverage.cpp 170 Str += Message.str() + "\n";
tools/llvm-cov/SourceCoverageView.cpp 47 auto PathFilename = (sys::path::filename(Path) + "." + Extension).str();
tools/llvm-cxxmap/llvm-cxxmap.cpp 48 std::string WhenceStr = Whence.str();
59 std::string WhenceStr = Whence.str();
tools/llvm-dwarfdump/Statistics.cpp 552 printDatum(OS, "file", Filename.str());
tools/llvm-dwarfdump/llvm-dwarfdump.cpp 419 Filename.str() + ": ");
455 stream << "Verifying " << Filename.str() << ":\tfile format "
477 std::string Name = (Filename + "(" + NameOrErr.get() + ")").str();
500 (Filename + "(" + ObjForArch.getArchFlagName() + ")").str();
tools/llvm-dwp/llvm-dwp.cpp 369 .str());
tools/llvm-lipo/llvm-lipo.cpp 186 .str());
201 .str());
213 .str());
240 .str();
tools/llvm-lto/llvm-lto.cpp 317 CurrentActivity = ("loading file '" + Path + "'").str();
468 std::string CurrentActivity = ("loading file '" + Filename + "'").str();
tools/llvm-objcopy/CopyConfig.cpp 358 OptTable.PrintHelp(OS, (ToolName + " input [output]").str().c_str(),
359 (ToolName + " tool").str().c_str());
tools/llvm-objcopy/ELF/ELFObjcopy.cpp 207 std::string FullMsg = (EC.message() + ": " + Msg).str();
393 Sym.Name = (Config.SymbolsPrefix + Sym.Name).str();
635 Sec.Name = (Config.AllocSectionsPrefix + Sec.Name).str();
664 Sec.Name = (prefix + TargetSec->Name).str();
667 (prefix + Config.AllocSectionsPrefix + TargetSec->Name).str();
tools/llvm-objcopy/ELF/Object.cpp 652 Sym.Name = Name.str();
tools/llvm-objcopy/ELF/Object.h 500 Name = SecName.str();
tools/llvm-objcopy/MachO/MachOReader.cpp 38 S.CanonicalName = (Twine(S.Segname) + "," + S.Sectname).str();
tools/llvm-objdump/MachODump.cpp 212 std::string ThumbName = (Twine("thumb") + TT.getArchName().substr(3)).str();
tools/llvm-objdump/llvm-objdump.cpp 969 PltEntry.second, Saver.save((Name + "@plt").str()), SymbolType);
tools/llvm-profdata/llvm-profdata.cpp 159 (InputFile + ":" + Twine(LineIt.line_number())).str(),
tools/llvm-rc/ResourceScriptParser.cpp 37 CurMessage = "Error parsing file: expected " + Expected.str() + ", got " +
tools/llvm-readobj/ELFDumper.cpp 380 if (Warnings.insert(Msg.str()).second)
2148 return Twine("<Invalid offset 0x" + utohexstr(Value) + ">").str();
tools/llvm-readobj/llvm-readobj.cpp 441 A ? Twine(A->getFileName() + "(" + Obj->getFileName() + ")").str()
tools/llvm-rtdyld/llvm-rtdyld.cpp 794 (sys::path::filename(FilePath) + "/" + SectionName).str();
tools/llvm-xray/xray-graph-diff.cpp 340 return formatv(R"({0})", truncateString(VertexId, TrunLen).str());
343 return formatv(R"({0})", truncateString(VertexId, TrunLen).str());
349 return formatv(R"({{{0}|{1:P}})", truncateString(VertexId, TrunLen).str(),
tools/obj2yaml/elf2yaml.cpp 109 Ret = (Name + " [" + Twine(++It.first->second) + "]").str();
141 (Name + " [" + Twine(++It.first->second) + "]").str();
tools/polly/lib/Analysis/ScopDetectionDiagnostic.cpp 93 return LHS.concat(Buf).str();
207 return ("Invalid instruction terminates BB: " + BB->getName()).str();
286 return ("Condition based on 'undef' value in BB: " + BB->getName()).str();
301 return ("Condition in BB '" + BB->getName()).str() +
317 return ("undef operand in branch at BB: " + BB->getName()).str();
332 return ("Non affine branch in BB '" + BB->getName()).str() +
tools/polly/lib/Support/DumpModulePass.cpp 58 Dumpfile = (Twine(Stem) + Filename + ".ll").str();
tools/sancov/sancov.cpp 207 if (E.str().empty())
unittests/ADT/APIntTest.cpp 2646 Twine(Width)).str();
unittests/ADT/StringMapTest.cpp 471 std::piecewise_construct, std::forward_as_tuple(Twine(i).str()),
unittests/ADT/TwineTest.cpp 27 EXPECT_EQ("", Twine().str());
28 EXPECT_EQ("hi", Twine("hi").str());
29 EXPECT_EQ("hi", Twine(std::string("hi")).str());
30 EXPECT_EQ("hi", Twine(StringRef("hi")).str());
31 EXPECT_EQ("hi", Twine(StringRef(std::string("hi"))).str());
32 EXPECT_EQ("hi", Twine(StringRef("hithere", 2)).str());
33 EXPECT_EQ("hi", Twine(SmallString<4>("hi")).str());
34 EXPECT_EQ("hi", Twine(formatv("{0}", "hi")).str());
38 EXPECT_EQ("123", Twine(123U).str());
39 EXPECT_EQ("123", Twine(123).str());
40 EXPECT_EQ("-123", Twine(-123).str());
41 EXPECT_EQ("123", Twine(123).str());
42 EXPECT_EQ("-123", Twine(-123).str());
44 EXPECT_EQ("7b", Twine::utohexstr(123).str());
48 EXPECT_EQ("x", Twine('x').str());
49 EXPECT_EQ("x", Twine(static_cast<unsigned char>('x')).str());
50 EXPECT_EQ("x", Twine(static_cast<signed char>('x')).str());
115 (void)Twine(formatv("{0}", Formatter)).str();
unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp 383 .str());
414 .str());
unittests/ObjectYAML/YAML2ObjTest.cpp 43 Errors.push_back("ObjectYAML: " + Msg.str());
unittests/Support/CommandLineTest.cpp 1179 .str());
1193 .str());
1207 .str());
1220 .str());
1231 " =v1\n").str());
1255 size_t ExpectedStrSize = (" --" + ArgName + "=<value> - ").str().size();
1263 size_t ExpectedStrSize = (" =" + OptName + " - ").str().size();
1272 size_t ExpectedStrSize = (" =" + OptName + " - ").str().size();
1297 size_t ExpectedStrSize = (" -" + ArgName + "=<value> - ").str().size();
unittests/Support/FileCheckTest.cpp 38 Str += Twine(First ? "{" + S : ", " + S).str();
57 expectUndefErrors({ExpectedUndefVarName.str()}, std::move(Err));
unittests/Support/FileCollectorTest.cpp 47 Path = Name.str();
70 Path = From.str();
217 std::string RemovedFileName = (Twine(subdir3.Path) + "/removed").str();
259 std::string vpath = (file_root + "/aaa").str();
260 std::string rpath = (reproducer_root.Path + file_root.Path + "/aaa").str();
267 std::string vpath = (file_root + "/bar/ddd").str();
269 (reproducer_root.Path + file_root.Path + "/foo/ddd").str();
276 std::string vpath = (file_root + "/eee").str();
277 std::string rpath = (reproducer_root.Path + file_root.Path + "/eee").str();
unittests/Support/Path.cpp 185 EXPECT_EQ(*sys::path::rbegin(filename), (stem + ext).str());
unittests/Support/VirtualFileSystemTest.cpp 73 WorkingDirectory = Path.str();
107 Path(_Path.str()) {
426 Path = Name.str();
444 Path = From.str();
554 EXPECT_EQ((BDir.Path + "/./bb").str(), BIt->path());
562 EXPECT_EQ((ADir.Path + "/./aa").str(), CIt->path()); // Partly resolved name!
unittests/Support/YAMLParserTest.cpp 189 std::string StringInArray = (llvm::Twine("[\"") + String + "\"]").str();
203 std::string StringInArray = (llvm::Twine("[\"") + String + "\"]").str();
204 ExpectParseError((Twine("When parsing string \"") + String + "\"").str(),
utils/TableGen/AsmMatcherEmitter.cpp 2043 std::string Signature = ("ConvertCustom_" + AsmMatchConverter).str();
3121 Name += ("_" + Feature->getName()).str();
utils/TableGen/AsmWriterEmitter.cpp 919 .str();
967 .str();
970 ("STI.getFeatureBits()[" + Namespace + "::" + Op + "]").str();
utils/TableGen/CodeEmitterGen.cpp 337 Name += ("_" + Feature->getName()).str();
471 (R->getValueAsString("Namespace") + "::" + R->getName()).str();
utils/TableGen/CodeGenDAGPatterns.cpp 1001 .str();
1041 .str();
1080 .str();
1295 std::string Result = (" " + getImmType() + " Imm = ").str();
1320 return (Twine(Result) + " (void)N;\n" + getPredCode()).str();
utils/TableGen/CodeGenRegisters.cpp 935 return (Namespace + "::" + getName()).str();
utils/TableGen/DAGISelMatcherGen.cpp 521 Names.push_back(("pred:" + Twine(Name.getScope()) + ":" + Name.getIdentifier()).str());
542 ("pred:" + Twine(Pred.Scope) + ":" + TP->getArgName(i)).str();
utils/TableGen/DFAEmitter.cpp 321 if (!R->getValue(Ty.str()))
323 return R->getValueAsString(Ty.str());
utils/TableGen/GlobalISelEmitter.cpp 205 (Separator + P.getOrigPatFragRecord()->getRecord()->getName()).str();
231 Explanation += (" MemVT=" + VT->getName()).str();
233 Explanation += (" ScalarVT(MemVT)=" + VT->getName()).str();
280 return (" (" + Operator->getValueAsString("Opcode") + ")").str();
283 return (" (Operator is an Intrinsic, " + Operator->getName() + ")").str();
288 .str();
293 .str();
295 return (" (Operator " + Operator->getName() + " not understood)").str();
364 .str();
388 Name += ("_" + Feature->getName()).str();
521 return MatchTableRecord(None, (Namespace + "::" + NamedValue).str(), 1,
526 return MatchTableRecord(None, (Namespace + "::" + NamedValue).str(), 1,
1287 << MatchTable::NamedValue(("GICP_" + TheDef.getName()).str())
1845 << MatchTable::NamedValue(("(int64_t)AtomicOrdering::" + Order).str())
3025 ("Failed to lookup instruction " + SymbolicName).str().c_str());
3069 << MatchTable::Comment(("Rule ID " + Twine(RuleID) + " //").str())
3147 Table << MatchTable::Comment(("GIR_Coverage, " + Twine(RuleID) + ",").str())
4826 (" = GIPFP_" + TypeIdentifier + "_Invalid + 1,\n").str();
5021 Target.getName() + " target").str(), OS);
utils/TableGen/InfoByHwMode.cpp 29 return (Twine('m') + Twine(Mode)).str();
utils/TableGen/OptParserEmitter.cpp 130 Twine(NewPrefix)).str())).second)
315 std::string S = (Pref + R.getValueAsString("Name")).str();
utils/TableGen/RISCVCompressInstEmitter.cpp 630 .str() +
634 << ("STI.getFeatureBits()[" + Namespace + "::" + Op + "]").str() +
utils/TableGen/RegisterBankEmitter.cpp 49 std::string getEnumeratorName() const { return (TheDef.getName() + "ID").str(); }
53 return (TheDef.getName() + "CoverageData").str();
181 VisitFn(RC, Kind.str());
185 (Twine(Kind) + " (" + PossibleSubclass.getName() + ")").str();
205 .str();
231 (Twine(RC->Namespace) + "::" + RC->getName() + "RegClassID").str();
244 (TargetName + "::" + Bank.getEnumeratorName()).str();
utils/TableGen/SearchableTableEmitter.cpp 283 emitIfdef((Twine("GET_") + Enum.PreprocessorGuard + "_DECL").str(), OS);
482 emitIfdef((Twine("GET_") + Table.PreprocessorGuard + "_DECL").str(), OS);
496 emitIfdef((Twine("GET_") + Table.PreprocessorGuard + "_IMPL").str(), OS);
676 if (auto TypeOfVal = TableRec->getValue(("TypeOf_" + FieldName).str())) {
737 Enum->Name = (Twine(Class->getName()) + "Values").str();
747 Table->Name = (Twine(Class->getName()) + "sList").str();
769 (Twine("lookup") + Table->CppTypeName + "By" + Field).str();
utils/yaml-bench/YAMLBench.cpp 147 llvm::Timer BaseLine((Name + ".loop").str(), (Description + ": Loop").str(),
147 llvm::Timer BaseLine((Name + ".loop").str(), (Description + ": Loop").str(),
157 llvm::Timer Tokenizing((Name + ".tokenizing").str(),
158 (Description + ": Tokenizing").str(), Group);
165 llvm::Timer Parsing((Name + ".parsing").str(),
166 (Description + ": Parsing").str(), Group);