reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/DOTGraphTraitsPass.h
   56     std::string Title = GraphName + " for '" + F.getName().str() + "' function";
   97     std::string Filename = Name + "." + F.getName().str() + ".dot";
  104     std::string Title = GraphName + " for '" + F.getName().str() + "' function";
include/llvm/Object/MachO.h
  644     Version = utostr(major) + "." + utostr(minor);
include/llvm/TableGen/Record.h
 1295     return Rec->getAsString() + "." + FieldName->getValue().str();
lib/AsmParser/LLParser.cpp
 3331                    getTypeString(SrcVal->getType()) + "' to '" +
 3376                                "' instead of '" + getTypeString(IndexedType) +
 5452                      "expected '" + getTypeString(PFT) + "' but was '" +
 5452                      "expected '" + getTypeString(PFT) + "' but was '" +
 6556                  getTypeString(Op->getType()) + "' to '" +
 7281                            getTypeString(Val1->getType()) + "' instead of '" +
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
 1127   std::string FullName = getParentContextString(Context) + Name.str();
 1135   std::string FullName = getParentContextString(Context) + Name.str();
 1148   std::string FullName = getParentContextString(Context) + Ty->getName().str();
 1156   std::string FullName = getParentContextString(Context) + Ty->getName().str();
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  799     std::string ProducerWithFlags = Producer.str() + " " + Flags.str();
lib/CodeGen/RegAllocPBQP.cpp
  820     F.getParent()->getModuleIdentifier() + "." + F.getName().str();
  848         std::string GraphFileName = FullyQualifiedName + "." + RS.str() +
lib/CodeGen/TargetPassConfig.cpp
  535       Banner = std::string("After ") + std::string(P->getPassName());
lib/CodeGen/ValueTypes.cpp
  119              + getVectorElementType().getEVTString();
lib/DebugInfo/CodeView/TypeRecordMapping.cpp
   70     FlagLabel += (Flag.Name.str() + " (0x" + utohexstr(Flag.Value) + ")");
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
   65         ES.intern(std::string("cc") + std::to_string(++NextCallbackId));
lib/IR/AutoUpgrade.cpp
 3847           std::string NewValue = ValueComp[0].str() + ";" + ValueComp[1].str();
lib/IR/Function.cpp
  591     Result += "p" + utostr(PTyp->getAddressSpace()) +
  594     Result += "a" + utostr(ATyp->getNumElements()) +
  618     Result += "v" + utostr(VTy->getVectorNumElements()) +
lib/IR/ModuleSummaryIndex.cpp
  312   return std::string("inst: ") + std::to_string(FS->instCount()) +
  313          ", ffl: " + fflagsToString(FS->fflags());
  317   return std::string("@") + std::to_string(Id);
  330       getNodeVisualName(VI) + "|" + linkageToString(GVS->linkage());
  377                                  : std::string("M") + std::to_string(ModId) +
  378                                        "_" + std::to_string(Id);
lib/IR/Pass.cpp
  199   return "basic block (" + BB.getName().str() + ") in function (" +
lib/LTO/LTOBackend.cpp
  237                          AAPipelineDesc + "': " + toString(std::move(Err)));
  262                        PipelineDesc + "': " + toString(std::move(Err)));
  325       report_fatal_error("Failed to create directory " + Conf.DwoDir + ": " +
lib/LTO/LTOCodeGenerator.cpp
  235     ErrMsg += Path.str() + ": " + EC.message();
  246     ErrMsg += Path.str() + ": " + Out.os().error().message();
lib/LTO/LTOModule.cpp
  665            ": Could not read LTO input file: " + toString(ObjOrErr.takeError());
lib/MC/WasmObjectWriter.cpp
  903   startCustomSection(Section, std::string("reloc.") + Name.str());
lib/Option/OptTable.cpp
  239       std::string S = std::string(In.Prefixes[I]) + std::string(In.Name) + "\t";
lib/Support/ARMAttributeParser.cpp
  369     Description = std::string("8-byte alignment, ") + utostr(1ULL << Value)
  370                 + std::string("-byte extended alignment");
  390     Description = std::string("8-byte stack alignment, ") +
  391                   utostr(1ULL << Value) + std::string("-byte data alignment");
lib/Support/FileCheck.cpp
  608   std::string Backref = std::string("\\") + std::string(1, '0' + BackrefNum);
lib/Support/ScaledNumber.cpp
  312   return stripTrailingZeros(std::string(Carry, '1') + Str.substr(0, Truncate));
lib/Support/TarWriter.cpp
  175   std::string Fullpath = BaseDir + "/" + sys::path::convert_to_slash(Path);
lib/Support/Unix/Program.inc
  182       *ErrMsg = std::string("Executable \"") + Program.str() +
  182       *ErrMsg = std::string("Executable \"") + Program.str() +
lib/Support/Unix/Unix.h
   69   *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
lib/Support/VirtualFileSystem.cpp
  584     return std::string(Indent, ' ') + "HardLink to -> " +
lib/TableGen/Main.cpp
   72     return reportError(argv0, "error opening " + DependFilename + ":" +
   91                                   "': " + EC.message() + "\n");
  132     return reportError(argv0, "error opening " + OutputFilename + ":" +
lib/TableGen/Record.cpp
  813   return Result + "(" + LHS->getAsString() + ")";
 1041   return Result + "(" + LHS->getAsString() + ", " + RHS->getAsString() + ")";
 1041   return Result + "(" + LHS->getAsString() + ", " + RHS->getAsString() + ")";
 1256   return (Result + "(" +
 1258           ", " + MHS->getAsString() + ", " + RHS->getAsString() + ")");
 1258           ", " + MHS->getAsString() + ", " + RHS->getAsString() + ")");
 1513   return TI->getAsString() + "{" + utostr(Bit) + "}";
 1537   return TI->getAsString() + "[" + utostr(Element) + "]";
lib/TableGen/SetTheory.cpp
  227         PrintFatalError(Loc, "No def named '" + Name + "': " +
lib/TableGen/TGParser.cpp
  219                           "' of type '" + RV->getType()->getAsString() +
  220                           "' is incompatible with initializer '" +
 2167         TokError("Cannot access field '" + Lex.getCurStrVal() + "' of value '" +
lib/Target/AArch64/AArch64AsmPrinter.cpp
  251     std::string SymName = "__hwasan_check_x" + utostr(Reg - AArch64::X0) + "_" +
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
 2942           Mnemonic.upper() + std::string(PRCTX->Name) + " requires ");
lib/Target/AArch64/Utils/AArch64BaseInfo.cpp
  155   return "S" + utostr(Op0) + "_" + utostr(Op1) + "_C" + utostr(CRn) + "_C" +
  155   return "S" + utostr(Op0) + "_" + utostr(Op1) + "_C" + utostr(CRn) + "_C" +
  155   return "S" + utostr(Op0) + "_" + utostr(Op1) + "_C" + utostr(CRn) + "_C" +
  156          utostr(CRm) + "_" + utostr(Op2);
lib/Target/AMDGPU/AMDGPULibCalls.cpp
  615   Name = Name + "_" + std::to_string(Size);
lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp
   46       " to " + std::to_string(Max) + ")";
lib/Target/BPF/BPFAbstractMemberAccess.cpp
  832   AccessKey = TypeName + ":" + std::to_string(InfoKind) + ":" +
  832   AccessKey = TypeName + ":" + std::to_string(InfoKind) + ":" +
lib/Target/BPF/BTFDebug.cpp
   35   OS.AddComment(std::string(BTFKindStr[Kind]) + "(id = " + std::to_string(Id) +
  667     FileName = File->getDirectory().str() + "/" + File->getFilename().str();
  821       OS.AddComment("Line " + std::to_string(LineInfo.LineNum) + " Col " +
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
 1770       std::string Name = r + utostr(RegNum) + Colon + utostr(RegNum - 1);
 1775       std::string Name = r + utostr(RegNum + 1) + Colon + utostr(RegNum);
 1787       std::string Name = r + utostr(RegNum) + Colon + utostr(RegNum - 1);
 1792       std::string Name = r + utostr(RegNum + 1) + Colon + utostr(RegNum);
 1804       std::string Name = r + utostr(RegNum) + Colon + utostr(RegNum - 1);
 1809       std::string Name = r + utostr(RegNum + 1) + Colon + utostr(RegNum);
 1824       std::string Name = r + utostr(RegNum) + Colon + utostr(RegNum - 1);
 1829       std::string Name = r + utostr(RegNum + 1) + Colon + utostr(RegNum);
 1847       std::string Name = r + utostr(RegNum) + Colon + utostr(RegNum - 1);
 1852       std::string Name = r + utostr(RegNum + 1) + Colon + utostr(RegNum);
lib/Target/Hexagon/HexagonInstrInfo.cpp
 3537     report_fatal_error(std::string("Unknown .new type: ") +
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp
  176                                   (Pair.second ? "up" : "down") + " to label" +
  190     return std::string(AI.isNegative() ? "-" : "") + "nan:0x" +
lib/Transforms/IPO/Attributor.cpp
 1021          ")[#UC: " + std::to_string(UnresolvedCalls.size()) + "]";
 2131     return "Live[#BB " + std::to_string(AssumedLiveBlocks.size()) + "/" +
 2132            std::to_string(getAssociatedFunction()->size()) + "][#NRI " +
 2513            (isAssumedGlobal() ? "_globally" : "") + "<" +
 2514            std::to_string(getKnownDereferenceableBytes()) + "-" +
 2742                                 "-" + std::to_string(getAssumedAlign()) + ">")
lib/Transforms/IPO/Inliner.cpp
  691           setInlineRemark(CS, std::string(IR) + "; " + inlineCostStr(*OIC));
 1080         setInlineRemark(CS, std::string(IR) + "; " + inlineCostStr(*OIC));
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  889           &F, std::string("dfsw$") + std::string(F.getName()),
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  448               ClMemoryAccessCallbackPrefix + TypeStr +
lib/Transforms/Instrumentation/InstrOrderFile.cpp
  111         std::string singleLine = "MD5 " + stream.str() + " " +
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
 1169       std::string Msg = IPE.message() + std::string(" ") + F.getName().str() +
 1169       std::string Msg = IPE.message() + std::string(" ") + F.getName().str() +
 1169       std::string Msg = IPE.message() + std::string(" ") + F.getName().str() +
 1170                         std::string(" Hash = ") +
lib/Transforms/Utils/SymbolRewriter.cpp
  256     report_fatal_error("unable to read rewrite map '" + MapFile + "': " +
tools/bugpoint/ToolRunner.cpp
  391               "' in PATH: " + Path.getError().message() + "\n";
  847     Message = "Cannot find `" + CCBinary + "' in PATH: " +
  856       Message = "Cannot find `" + RemoteClient + "' in PATH: " +
tools/clang/include/clang/StaticAnalyzer/Checkers/SValExplainer.h
  101            "' conjured at statement '" + printStmt(S->getStmt()) + "'";
  106            ") for " + Visit(S->getRegion());
  114     return "metadata of type '" + S->getType().getAsString() + "' tied to " +
  131     return "(" + Visit(S->getLHS()) + ") " +
  133            " (" + Visit(S->getRHS()) + ")";
  199     return "instance variable '" + R->getDecl()->getNameAsString() + "' of " +
  204     return "field '" + R->getDecl()->getNameAsString() + "' of " +
  215            "' inside " + Visit(R->getSuperRegion());
tools/clang/lib/ARCMigrate/Transforms.cpp
  493     Pass.TA.insert(tok.getLocation(), std::string("(") + attr.str() + ") ");
tools/clang/lib/Basic/Targets/ARM.cpp
 1022     R = std::string("^") + std::string(Constraint, 2);
tools/clang/lib/Basic/Targets/Mips.h
  271         R = std::string("^") + std::string(Constraint, 2);
tools/clang/lib/Basic/Targets/PPC.h
  298       R = std::string("^") + std::string(Constraint, 2);
tools/clang/lib/Basic/Targets/X86.cpp
 1839       return std::string("^") + std::string(Constraint++, 2);
tools/clang/lib/CodeGen/CGAtomic.cpp
 1144       LibCallName = std::string("__opencl") +
tools/clang/lib/CodeGen/CGBuiltin.cpp
 3700     std::string Name = std::string(BaseName) +
 3733     auto NewName = std::string("__") + E->getDirectCallee()->getName().str();
tools/clang/lib/CodeGen/CGObjCGNU.cpp
  528       + '.' + Ivar->getNameAsString();
 1670       + '.' + Ivar->getNameAsString() + '.' + TypeEncoding;
 3445       std::string OffsetName = "__objc_ivar_offset_value_" + ClassName +"." +
 4083       Interface->getNameAsString() +"." + Ivar->getNameAsString();
tools/clang/lib/CodeGen/CodeGenModule.cpp
 2948     std::string MangledName = getMangledNameImpl(*this, GD, FD, true) +
tools/clang/lib/CodeGen/TargetInfo.cpp
 2402     Opt = "/FAILIFMISMATCH:\"" + Name.str() + "=" + Value.str() + "\"";
 2458     Opt = "/FAILIFMISMATCH:\"" + Name.str() + "=" + Value.str() + "\"";
 5094     Opt = "/FAILIFMISMATCH:\"" + Name.str() + "=" + Value.str() + "\"";
 5761     Opt = "/FAILIFMISMATCH:\"" + Name.str() + "=" + Value.str() + "\"";
 7987       std::string AttrVal = llvm::utostr(Min) + "," + llvm::utostr(Max);
 8009         AttrVal = AttrVal + "," + llvm::utostr(Max);
tools/clang/lib/Driver/Driver.cpp
  703                   ToolChains[TT.str() + "/" + HostTC->getTriple().normalize()];
tools/clang/lib/Driver/ToolChains/AVR.cpp
   80         getFilePaths().push_back(LibcRoot + std::string("/lib/") +
   82         getFilePaths().push_back(LibcRoot + std::string("/lib/") +
   84         getFilePaths().push_back(GCCRoot + std::string("/") +
  130     std::string CrtFileName = std::string("-l:crt") + CPU + std::string(".o");
tools/clang/lib/Driver/ToolChains/Arch/ARM.cpp
  628         MArch = std::string("arm") + Suffix.str();
tools/clang/lib/Driver/ToolChains/Gnu.cpp
 1897       std::string CandidatePrefix = PrefixDir + "/" + VersionText.str();
 2366       {CandidateTriple.str() + "/gcc/" + CandidateTriple.str(), "../../..",
 2436       D.getVFS().getBufferForFile(D.SysRoot + "/etc/env.d/gcc/config-" +
 2448           D.getVFS().getBufferForFile(D.SysRoot + "/etc/env.d/gcc/" +
 2477           + ActiveVersion.second.str();
tools/clang/lib/Driver/ToolChains/HIP.cpp
  207     BundlerTargetArg = BundlerTargetArg + ",hip-amdgcn-amd-amdhsa-" +
tools/clang/lib/Driver/ToolChains/Linux.cpp
  841       std::string("/usr/include/") +
  944       LibDir.str() + "/../" + TripleStr.str() + "/include/c++/" + Version.Text,
tools/clang/lib/Driver/ToolChains/MSVC.cpp
  407       CmdArgs.push_back(Args.MakeArgString(std::string("-wholearchive:") +
  417         CmdArgs.push_back(Args.MakeArgString(std::string("-wholearchive:") +
tools/clang/lib/Driver/ToolChains/Myriad.cpp
  259       LibDir.str() + "/../" + TripleStr.str() + "/include/c++/" + Version.Text,
tools/clang/lib/Driver/ToolChains/RISCVToolchain.cpp
   82   std::string SysRootDir = LibDir.str() + "/../" + TripleStr.str();
tools/clang/lib/Frontend/FrontendActions.cpp
  457         Entry.DefinitionLocation = std::string(DefLoc.getFilename()) + ":" +
  458                                    std::to_string(DefLoc.getLine()) + ":" +
  464       Entry.PointOfInstantiation = std::string(PoiLoc.getFilename()) + ":" +
  465                                    std::to_string(PoiLoc.getLine()) + ":" +
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 4028     "_" + utostr(BlockByRefDeclNo[VD]) ;
 4047   S += "static " + RT.getAsString(Context->getPrintingPolicy()) + " __" +
 4048          funcName.str() + "_block_func_" + utostr(i);
 4092     S += Name + " = __cself->" + (*I)->getNameAsString() + "; // bound by ref\n";
 4121       S += Name + " = __cself->" +
 4313     S += ", __" + FunName.str() + "_block_copy_" + utostr(i);
 4314     S += ", __" + FunName.str() + "_block_dispose_" + utostr(i);
 4362     std::string ImplTag = "__" + FunName.str() + "_block_impl_" + utostr(i);
 4363     std::string DescTag = "__" + FunName.str() + "_block_desc_" + utostr(i);
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 3242     "_" + utostr(BlockByRefDeclNo[VD]) ;
 3257   std::string S = "static " + RT.getAsString(Context->getPrintingPolicy()) + " __" +
 3258                   funcName.str() + "_" + "block_func_" + utostr(i);
 3302     S += Name + " = __cself->" + (*I)->getNameAsString() + "; // bound by ref\n";
 3331       S += Name + " = __cself->" +
 3523     S += ", __" + FunName.str() + "_block_copy_" + utostr(i);
 3524     S += ", __" + FunName.str() + "_block_dispose_" + utostr(i);
 3571     std::string ImplTag = "__" + FunName.str() + "_block_impl_" + utostr(i);
 3572     std::string DescTag = "__" + FunName.str() + "_block_desc_" + utostr(i);
 5549   + ", " + utostr(CatDefCount) + "\n";
tools/clang/lib/Lex/PPExpressions.cpp
  641             << LHS.Val.toString(10, true) + " to " +
  646             << RHS.Val.toString(10, true) + " to " +
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
  617         Name = std::string(" '") + Parm->getName().str() + "'";
tools/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp
   57         llvm::StringRef(modelPath.str() + "/" + D->getName().str() + ".model");
tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp
  426     return getRelativeName(V) + "(" + V->getType().getAsString(TypePP) + ")";
tools/clang/lib/Tooling/Refactoring/AtomicChange.cpp
  204   Key = FilePath + ":" + std::to_string(FileIDAndOffset.second);
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp
  384   std::string QueryString = ScopedQualifiers.str() + Query.str();
tools/clang/tools/extra/clang-tidy/google/GlobalVariableDeclarationCheck.cpp
   52                  llvm::StringRef(std::string(1, FC)).upper() +
tools/clang/tools/extra/clang-tidy/modernize/UseUsingCheck.cpp
  106         "using " + MatchedDecl->getNameAsString() + " = " +
tools/clang/tools/extra/clang-tidy/readability/NamespaceCommentCheck.cpp
  195              std::string(SpacesBeforeComments, ' ') +
tools/clang/tools/extra/clang-tidy/utils/IncludeSorter.cpp
   70         Parts.first.str() + "/internal/" + Parts.second.str();
   72         Parts.first.str() + "/proto/" + Parts.second.str();
tools/clang/tools/extra/clangd/FormattedString.cpp
   86   return BlockMarker + Language.str() + "\n" + Input.str() + "\n" + BlockMarker;
tools/clang/tools/extra/clangd/refactor/tweaks/ExpandAutoType.cpp
  113       Message + ": " +
  114           SrcMgr.getFilename(Inputs.Cursor).str() + " Line " +
tools/clang/tools/extra/clangd/refactor/tweaks/ExtractFunction.cpp
  333   return Name + "(" + renderParametersForCall() + ")" +
  338   return ReturnType + " " + Name + "(" + renderParametersForDefinition() + ")" +
  339          " {\n" + getFuncBody(SM) + "\n}\n";
tools/clang/tools/extra/clangd/refactor/tweaks/ExtractVariable.cpp
  179   std::string ExtractedVarDecl = std::string("auto ") + VarName.str() + " = " +
  179   std::string ExtractedVarDecl = std::string("auto ") + VarName.str() + " = " +
tools/clang/tools/extra/clangd/unittests/ClangdTests.cpp
  581     std::string Name = std::string("Foo") + std::to_string(I) + ".cpp";
tools/clang/tools/extra/clangd/unittests/DiagnosticsTests.cpp
   57            "Fix " + llvm::to_string(Range) + " => " +
tools/clang/tools/extra/modularize/Modularize.cpp
  364         std::string File(std::string("\"") + FileDependents[Index] +
tools/clang/tools/extra/modularize/PreprocessorTracker.cpp
 1061           getSourceLocationString(PP, InstanceLoc) + ":\n" +
 1064           getSourceLocationString(PP, DefinitionLoc) + ":\n" +
 1083             getSourceLocationString(PP, DefinitionLoc) + ":\n" +
 1109           getSourceLocationString(PP, InstanceLoc) + ":\n" +
tools/clang/unittests/AST/ASTImporterGenericRedeclTest.cpp
  192     Decl *FromTU = getTuDecl(getPrototype() + getPrototype(), Lang_CXX);
  214     Decl *FromTU = getTuDecl(getPrototype() + getDefinition(), Lang_CXX);
  236     Decl *FromTU = getTuDecl(getDefinition() + getPrototype(), Lang_CXX);
  353     Decl *FromTU = getTuDecl(getPrototype() + getDefinition(), Lang_CXX);
  374           getTuDecl(getPrototype() + getDefinition(), Lang_CXX, "input1.cc");
tools/clang/unittests/AST/ASTImporterVisibilityTest.cpp
   99     std::string Code = getCode() + getCode();
tools/clang/unittests/Tooling/ExecutionTest.cpp
   49                           Context->getRevision() + ":" + Context->getCorpus() +
   50                               ":" + Context->getCurrentCompilationUnit() +
tools/clang/utils/TableGen/ClangAttrEmitter.cpp
  601       return "!is" + getLowerName().str() + "Expr || !" + getLowerName().str()
 1640     Ret += "    " + EnumName + " = " + llvm::utostr(Idx);
 3004         !Test.empty() ? Test + " ? " + llvm::itostr(Version) + " : 0" : "1";
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  756                               "' is not valid for this mapping (has " +
tools/clang/utils/TableGen/MveEmitter.cpp
  243   std::string suffix() const { return toLetter(Kind) + utostr(Bits); }
  245     return toCPrefix(Kind) + utostr(Bits);
  260     return "_" + toLetter(Kind) + utostr(Bits);
  284     return Element->cNameBase() + "x" + utostr(Lanes);
  287     return "llvm::VectorType::get(" + Element->llvmName() + ", " +
  310     return Element->cNameBase() + "x" + utostr(Registers);
  801                              ", 0x" + lo.toString(16, true) + ", 0x" +
  801                              ", 0x" + lo.toString(16, true) + ", 0x" +
tools/clang/utils/TableGen/NeonEmitter.cpp
 1424         S += Cast + V.getName() + ".val[" + utostr(J) + "], ";
 1669     S = "*(" + castToType.str() + " *) &" + Intr.Variables[N].getName() + "";
 1865       A.first.str() + " " + Intr.Variables[N].getName() + " = " + A.second;
 2014     ErrMsg += "  - " + I.getReturnType().str() + " " + I.getMangledName();
tools/gold/gold-plugin.cpp
  565     cf.name += ".llvm." + std::to_string(file->offset) + "." +
tools/llc/llc.cpp
  384   std::string Banner = std::string("After ") + std::string(P->getPassName());
tools/lld/COFF/Driver.cpp
  236           "could not open '" + pathStr + "': " + mbOrErr.second.message();
  783     fatal("cannot create temporary file for import library " + path + ": " +
 1016           ": more than one resource obj file not allowed, already got " +
 1161       error("/linkrepro: failed to open " + *path + ": " +
 1728     error("cannot open output file " + config->outputFile + ": " + e.message());
tools/lld/COFF/DriverUtils.cpp
  327         fatal("failed to open " + path + ": " + ec.message());
  415     fatal("failed to open " + Default.path + ": " + ec.message());
  724       fatal(toString(f) + ": " + toString(std::move(ec)));
tools/lld/COFF/MapFile.cpp
   97     fatal("cannot open " + config->mapFile + ": " + ec.message());
tools/lld/COFF/PDB.cpp
 1057            utohexstr(uint32_t(ss.kind())) + " in file " + toString(&file));
tools/lld/COFF/SymbolTable.cpp
  327              " (defined in " + toString(imp->getFile()) + ") [LNK4217]");
  351                ": locally defined symbol imported: " + toString(*imp) +
  352                " (defined in " + toString(imp->getFile()) + ") [LNK4217]");
tools/lld/COFF/Writer.cpp
  977               " due to import of data: " + toString(*impSym));
tools/lld/Common/ErrorHandler.cpp
  142     return m.str(1) + "(" + m.str(2) + ")";
  184       error(m.str(1) + m.str(2));
  185       error(m.str(1) + m.str(3));
tools/lld/Common/Timer.cpp
   70   std::string s = std::string(depth * 2, ' ') + name + std::string(":");
tools/lld/ELF/Arch/ARM.cpp
  517     error(getErrorLocation(loc) + "unrecognized relocation " + toString(type));
tools/lld/ELF/Arch/AVR.cpp
   70     error(getErrorLocation(loc) + "unrecognized relocation " + toString(type));
tools/lld/ELF/Arch/MSP430.cpp
   87     error(getErrorLocation(loc) + "unrecognized relocation " + toString(type));
tools/lld/ELF/Arch/Mips.cpp
  521         "unsupported jump/branch instruction between ISA modes referenced by " +
tools/lld/ELF/Arch/MipsArchTree.cpp
  110            ": linking non-abicalls code with abicalls code " +
  114            ": linking abicalls code with non-abicalls code " +
  287       error("incompatible target ISA:\n>>> " + toString(files[0].file) + ": " +
  288             getFullArchName(ret) + "\n>>> " + toString(f.file) + ": " +
  288             getFullArchName(ret) + "\n>>> " + toString(f.file) + ": " +
tools/lld/ELF/Arch/PPC64.cpp
  837               "can't toc-optimize an update instruction: 0x" +
tools/lld/ELF/Arch/RISCV.cpp
  435           "unimplemented relocation: " + toString(type));
tools/lld/ELF/InputFiles.cpp
  153   error(toString(file) + " is incompatible with " + toString(existing));
  228   return filename + lineno + " (" + path.str() + lineno + ")";
 1084                                  ": could not get the member for symbol " +
 1093                 ": could not get the buffer for the member defining symbol " +
tools/lld/ELF/InputSection.cpp
  155           ": uncompress failed: " + llvm::toString(std::move(e)));
  305     return info->FileName + ":" + std::to_string(info->Line) + ":(" +
  315     return srcFile + ":(function " + toString(*d) + ": " + secAndOffset + ")";
  351         return filename + ":(" + toString(*d) + ")" + archive;
  858                         ": has non-ABS relocation " + toString(type) +
  859                         " against symbol '" + toString(sym) + "'";
 1127             ": uncompress failed: " + llvm::toString(std::move(e)));
tools/lld/ELF/Relocations.cpp
  423   error("relocation " + toString(type) + " cannot refer to absolute symbol: " +
  424         toString(sym) + getLocation(s, sym, relOff));
  620   warn("can't find matching " + toString(pairTy) + " relocation for " +
  680            "\n>>> prevailing definition is in " + toString(prevailing);
  785     msg = "undefined " + visibility() + "symbol: " + toString(sym);
 1080       errorOrWarn("cannot preempt symbol: " + toString(sym) +
 1090                 " against symbol '" + toString(*ss) +
 1091                 "'; recompile with -fPIC or remove '-z nocopyreloc'" +
 1129                     "' cannot be preempted; recompile with -fPIE" +
 1146           "can't create dynamic relocation " + toString(type) + " against " +
 1150           "or pass '-Wl,-z,notext' to allow text relocations in the output" +
 1154           "relocation " + toString(type) + " cannot be used against " +
 1156           "; recompile with -fPIC" + getLocation(sec, sym, offset));
 1160   errorOrWarn("symbol '" + toString(sym) + "' has no type" +
tools/lld/ELF/ScriptLexer.cpp
   80     s += "\n>>> " + getLine().str() + "\n>>> " +
tools/lld/ELF/ScriptParser.cpp
  923         tok.str() + " " +
 1100       tok.str() + " " +
tools/lld/ELF/Symbols.cpp
  572     error("duplicate symbol: " + toString(*sym) + "\n>>> defined in " +
  573           toString(sym->file) + "\n>>> defined in " + toString(newFile));
tools/lld/ELF/Symbols.h
  531     error("TLS attribute mismatch: " + toString(*this) + "\n>>> defined in " +
  532           toString(newSym.file) + "\n>>> defined in " + toString(file));
tools/lld/ELF/SyntheticSections.cpp
 2566       error(toString(sec) + ": " + toString(std::move(e)));
 2571       error(toString(sec) + ": " + toString(ranges.takeError()));
tools/lld/ELF/Target.h
  201   errorOrWarn(errPlace.loc + "relocation " + lld::toString(type) +
  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);
  229     error(getErrorLocation(loc) + "improper alignment for relocation " +
  230           lld::toString(type) + ": 0x" + llvm::utohexstr(v) +
tools/lld/ELF/Thunks.cpp
  826   fatal("relocation " + toString(reloc) + " to " + toString(s) +
  844   fatal("relocation " + toString(reloc) + " to " + toString(s) +
tools/lld/ELF/Writer.cpp
 1529             error(toString(isec) + ": sh_link points to discarded section " +
 1776             error(toString(f) + ": undefined reference to " + toString(*sym));
 1961           error("cannot place " + toString(isec) + " into " + toString(os->name) +
 2333   return "[0x" + utohexstr(addr) + ", 0x" + utohexstr(addr + len - 1) + "]";
tools/lld/include/lld/Common/ErrorHandler.h
  145     fatal(prefix() + ": " + ec.message());
  152     fatal(prefix() + ": " + toString(e.takeError()));
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  260                                 + "/" + section.sectionName.str();
  478                                   + "/" + section.sectionName.str();
tools/lld/wasm/Relocations.cpp
   39     error(toString(sym->getFile()) + ": undefined symbol: " + toString(*sym));
tools/lld/wasm/SymbolTable.cpp
  131   error("symbol type mismatch: " + toString(*existing) + "\n>>> defined as " +
  132         toString(existing->getWasmType()) + " in " +
  133         toString(existing->getFile()) + "\n>>> defined as " + toString(type) +
  134         " in " + toString(file));
  261   error("duplicate symbol: " + toString(*existing) + "\n>>> defined in " +
  262         toString(existing->getFile()) + "\n>>> defined in " +
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  694     return existing_command.str() + completion.str();
tools/lldb/source/Plugins/InstrumentationRuntime/TSan/TSanRuntime.cpp
  649     summary = summary + " in " + GetSymbolNameFromAddress(process_sp, pc);
  682         summary = summary + " at " + Sprintf("0x%llx", addr);
  690         summary = summary + " on file descriptor " + Sprintf("%d", fd);
tools/lldb/source/Plugins/Language/ClangCommon/ClangHighlighter.cpp
  146   std::string full_source = previous_lines.str() + line.str();
tools/lldb/unittests/Target/PathMappingListTest.cpp
   35     SCOPED_TRACE(match.original.GetPath() + " -> " + match.remapped.GetPath());
tools/llvm-ar/llvm-ar.cpp
  967     fail("error opening '" + ArchiveName + "': " + EC.message());
tools/llvm-cxxfilt/llvm-cxxfilt.cpp
  128       Result += demangle(OS, Word.first) + Word.second.str();
tools/llvm-dwp/llvm-dwp.cpp
  470       std::string("Duplicate DWO ID (") + utohexstr(PrevE.first) + ") in " +
  470       std::string("Duplicate DWO ID (") + utohexstr(PrevE.first) + ") in " +
  473       " and " + buildDWODescription(ID.Name, DWPName, ID.DWOName));
tools/llvm-exegesis/lib/Assembler.cpp
   66   std::string Banner = std::string("After ") + std::string(P->getPassName());
tools/llvm-lto/llvm-lto.cpp
 1025         error("error opening the file '" + PartFilename + "': " + EC.message());
tools/llvm-lto2/llvm-lto2.cpp
  333     std::string Path = OutputFilename + "." + utostr(Task);
tools/llvm-pdbutil/FormatUtil.cpp
   28   return std::string(S) + std::string("...");
   39   return std::string(Front) + std::string("...") + std::string(Back);
   39   return std::string(Front) + std::string("...") + std::string(Back);
   48   return std::string("...") + std::string(S);
tools/llvm-pdbutil/MinimalTypeDumper.cpp
  242         H = "0x" + utohexstr(Hash) + ", our hash = 0x" + utohexstr(OurHash);
tools/llvm-rc/ResourceScriptParser.cpp
   37   CurMessage = "Error parsing file: expected " + Expected.str() + ", got " +
tools/llvm-rc/llvm-rc.cpp
  183                  "': " + EC.message());
tools/llvm-readobj/COFFDumper.cpp
 1850     ListScope ResourceType(W, Level.str() + Name.str());
tools/llvm-readobj/DwarfCFIEHPrinter.h
  158     DictScope D(W, std::string("entry ")  + std::to_string(NumEntries));
tools/llvm-readobj/MachODumper.cpp
  788     Version = utostr(MachOObjectFile::getVersionMinMajor(VMC, false)) + "." +
  798       SDK = utostr(MachOObjectFile::getVersionMinMajor(VMC, true)) + "." +
tools/llvm-rtdyld/llvm-rtdyld.cpp
  587       ErrorAndExit("unable to read input '" + CheckerFileName + "': " +
tools/polly/lib/Analysis/ScopGraphPrinter.cpp
  150       Location = escapeString(FileName + ":" + std::to_string(LineBegin) + "-" +
  150       Location = escapeString(FileName + ":" + std::to_string(LineBegin) + "-" +
tools/polly/lib/Analysis/ScopInfo.cpp
 2094   std::string Msg = toString(Kind) + Suffix + Set.to_str();
tools/polly/lib/CodeGen/IslNodeBuilder.cpp
 1601         "F: " + F->getName().str() + " R: " + S.getRegion().getNameStr() +
tools/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
   41   auto Name = std::string("llvm.nvvm.ptr.constant.to.gen.p") +
   42               std::to_string(Dst) + "i" + std::to_string(DstBits) + ".p" +
   42               std::to_string(Dst) + "i" + std::to_string(DstBits) + ".p" +
   43               std::to_string(Src) + "i" + std::to_string(SrcBits);
tools/polly/lib/Exchange/JSONExporter.cpp
   84   std::string FileName = FunctionName + "___" + S.getNameStr() + ".jscop";
  136     Location = FileName + ":" + std::to_string(LineBegin) + "-" +
  136     Location = FileName + ":" + std::to_string(LineBegin) + "-" +
  175   std::string FileName = ImportDir + "/" + getFileName(S);
  696   std::string FileName = ImportDir + "/" + getFileName(S, ImportPostfix);
tools/polly/lib/Support/GICHelper.cpp
  211     ValStr = std::string("_") + std::string(Val->getName());
tools/sancov/sancov.cpp
  335                           (utostr(Loc.Line) + ":" + utostr(Loc.Column)));
tools/sanstats/sanstats.cpp
   59     Filename = std::string(llvm::sys::path::parent_path(ClInputFile)) +
tools/yaml2obj/yaml2obj.cpp
   56     ErrHandler("failed to open '" + OutputFilename + "': " + EC.message());
unittests/DebugInfo/PDB/StringTableBuilderTest.cpp
   83     std::string aaaaa = std::string(220, 'a') + std::to_string(i);
unittests/Support/DynamicLibrary/PipSqueak.cpp
   31       Str += std::string("(") + *Glb.Str + std::string(")");
unittests/Target/AArch64/InstSizes.cpp
   55     + InputMIRSnippet.str();
usr/include/c++/7.4.0/system_error
  351     : runtime_error(__what + ": " + __ec.message()), _M_code(__ec) { }
  364     : runtime_error(__what + ": " + error_code(__v, __ecat).message()),
utils/TableGen/AsmMatcherEmitter.cpp
 1342       CI->ValueName = CI->ValueName + "," + Rec->getName().str();
 2165         auto TiedTupleName = std::string("Tie") + utostr(TiedOp) + '_' +
 2165         auto TiedTupleName = std::string("Tie") + utostr(TiedOp) + '_' +
 2166                              utostr(SrcOp1) + '_' + utostr(SrcOp2);
utils/TableGen/AsmWriterEmitter.cpp
  139       OpsToPrint.push_back(std::make_pair(FirstInst.CGI->Namespace.str() + "::" +
  144         OpsToPrint.push_back(std::make_pair(AWI.CGI->Namespace.str()+"::" +
  836       Cond = std::string("MI->getNumOperands() == ") + utostr(NumMIOps);
  895               Cond = std::string("MRI.getRegClass(") + Target.getName().str() +
  896                      "::" + R->getName().str() + "RegClassID).contains(" + Op +
  899               Cond = Op + ".getReg() == MI->getOperand(" +
  930           Cond = Op + ".getImm() == " + itostr(CGA.ResultOperands[i].getImm());
  942           Cond = Op + ".getReg() == " + Target.getName().str() + "::" +
  942           Cond = Op + ".getReg() == " + Target.getName().str() + "::" +
utils/TableGen/CodeEmitterGen.cpp
  150         Case += "      " + EncoderMethodName + "(MI, " + utostr(OpIdx);
  153         Case += "      op = " + EncoderMethodName + "(MI, " + utostr(OpIdx);
  226         extractStr = "op.extractBits(" + itostr(hiBit - loBit) + ", " +
  228         Case += "      Value.insertBits(" + extractStr + ", " +
  232                      ", " + itostr(loBit) + ")";
  233         Case += "      Value.insertBits(" + extractStr + ", " +
  234                 itostr(loInstBit) + ", " + itostr(hiBit - loBit) + ");\n";
  253           Case += "      Value |= (op & " + maskStr + ") << " +
  256           Case += "      Value |= (op & " + maskStr + ") >> " +
utils/TableGen/CodeGenInstruction.cpp
  741             Result->getArgName(AliasOpNo)->getAsUnquotedString() + "." +
utils/TableGen/CodeGenTarget.cpp
  211   return Namespace + "::" + R->getName().str();
utils/TableGen/DAGISelMatcherGen.cpp
  959   AddMatcher(new EmitNodeMatcher(II.Namespace.str()+"::"+II.TheDef->getName().str(),
utils/TableGen/FixedLenDecoderEmitter.cpp
 2467             std::string("_") + NumberedEncodings[i].HwModeName.str();
utils/TableGen/GlobalISelEmitter.cpp
   88   return "GIPFP_" + Predicate.getImmTypeIdentifier().str() + "_" +
  360     Explanation = Separator + "Has a predicate (" + explainPredicates(N) + ")";
utils/TableGen/InstrInfoEmitter.cpp
  241     OperandMap[OpList].push_back(Namespace.str() + "::" +
utils/TableGen/RISCVCompressInstEmitter.cpp
  232             ("Error in Dag '" + Dag->getAsString() + "' Found immediate: '" +
  659                    "      (MI.getOperand(" + std::to_string(OpNo) +
  660                    ").getImm() == " +
  667                                     "::" + Reg->getName().str() + ") &&\n";
  674                                 "::" + Dest.TheDef->getName().str() + ");\n";
  691                        "::" + DestOperand.Rec->getName().str() +
  692                        "RegClassID).contains(" + "MI.getOperand(" +
  702                                       "MI.getOperand(" + std::to_string(OpIdx) +
  703                                       "), STI, " + std::to_string(Entry) +
  714             << Namespace + "ValidateMCOperand(" + "MCOperand::createImm(" +
  715                    std::to_string(DestOperandMap[OpNo].Data.Imm) + "), STI, " +
  725                                     Namespace + "::" + Reg->getName().str() +
utils/TableGen/SubtargetEmitter.cpp
  317       ItinString += Name + "FU::" + UnitList[j]->getName().str();
  363     ItinString += Name + "Bypass::" + BypassList[i]->getName().str();
  483           StageTable += ItinStageString + ", // " + itostr(StageCount);
utils/benchmark/src/commandlineflags.cc
  142   const std::string flag_str = std::string("--") + std::string(flag);
utils/unittest/googlemock/src/gmock-spec-builders.cc
  441     Log(kInfo, loc.str() + ss.str(), 2);
utils/unittest/googletest/include/gtest/internal/gtest-internal.h
  641          + StreamableToString(index)).c_str(),
utils/unittest/googletest/src/gtest-death-test.cc
  385   ~DeathTestImpl() { GTEST_DEATH_TEST_CHECK_(read_fd_ == -1); }
  840   GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1);
  854   GTEST_DEATH_TEST_CHECK_(child_pid != -1);
  971     DeathTestAbort(std::string("chdir(\"") + original_dir + "\") failed: " +
  983                  original_dir + " failed: " +
 1077     GTEST_DEATH_TEST_CHECK_(stack != MAP_FAILED);
 1089     GTEST_DEATH_TEST_CHECK_(stack_size > kMaxStackAlignment &&
 1094     GTEST_DEATH_TEST_CHECK_(munmap(stack, stack_size) != -1);
 1110   GTEST_DEATH_TEST_CHECK_(child_pid != -1);
 1131   GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1);
 1134   GTEST_DEATH_TEST_CHECK_(fcntl(pipe_fd[1], F_SETFD, 0) != -1);
 1141       + file_ + "|" + StreamableToString(line_) + "|"
 1142       + StreamableToString(death_test_index) + "|"
 1143       + StreamableToString(pipe_fd[1]);
 1185           + StreamableToString(flag->index()) + ")");
utils/unittest/googletest/src/gtest-filepath.cc
  191     file = base_name.string() + "_" + StreamableToString(number)
utils/unittest/googletest/src/gtest-internal-inl.h
 1129            FormatBool(unit_test.Passed()) + "&elapsed_time=" +
 1139            + "&elapsed_time=" + StreamableToString(test_case.elapsed_time())
 1150            "&elapsed_time=" +
 1159            "&line=" + StreamableToString(test_part_result.line_number()) +
 1160            "&message=" + UrlEncode(test_part_result.message()));
utils/unittest/googletest/src/gtest-port.cc
  889   return file_name + ":" + StreamableToString(line) + ":";
  905     return file_name + ":" + StreamableToString(line);
utils/unittest/googletest/src/gtest.cc
 3579   return StreamableToString(time_struct.tm_year + 1900) + "-" +
 3580       String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" +
 3581       String::FormatIntWidth2(time_struct.tm_mday) + "T" +
 3582       String::FormatIntWidth2(time_struct.tm_hour) + ":" +
 3583       String::FormatIntWidth2(time_struct.tm_min) + ":" +