|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
usr/include/c++/7.4.0/bits/basic_string.h 5904 operator+(const _CharT* __lhs,
References
lib/AsmParser/LLParser.cpp 202 "use of undefined comdat '$" +
207 "use of undefined value '@" + ForwardRefVals.begin()->first +
652 return Error(NameLoc, "redefinition of comdat '$" + Name + "'");
943 return Error(NameLoc, "redefinition of global '@" + Name + "'");
1069 return Error(NameLoc, "redefinition of global '@" + Name + "'");
1424 checkValidVariableType(Loc, "@" + Name, Ty, Val, IsCall));
2862 "use of undefined value '%" + ForwardRefVals.begin()->first +
2889 return P.checkValidVariableType(Loc, "%" + Name, Ty, Val, IsCall);
2999 return P.Error(NameLoc, "multiple definition of local value named '" +
3038 P.Error(Loc, "unable to create block named '" + Name + "'");
5451 "function '" + FunctionName + "' with wrong type: "
5457 return Error(NameLoc, "invalid redefinition of function '" +
5460 return Error(NameLoc, "redefinition of function '@" + FunctionName + "'");
5516 return Error(ArgList[i].Loc, "redefinition of argument '%" +
lib/Bitcode/Reader/BitcodeReader.cpp 455 FullMsg += " (Producer: '" + ProducerIdentification + "' Reader: 'LLVM " +
lib/CodeGen/MIRParser/MIRParser.cpp 701 "alloca instruction named '" + Name.Value +
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp 810 CurDAG->viewGraph("dag-combine1 input for " + BlockName);
832 CurDAG->viewGraph("legalize-types input for " + BlockName);
856 CurDAG->viewGraph("dag-combine-lt input for " + BlockName);
900 CurDAG->viewGraph("dag-combine-lv input for " + BlockName);
921 CurDAG->viewGraph("legalize input for " + BlockName);
940 CurDAG->viewGraph("dag-combine2 input for " + BlockName);
963 CurDAG->viewGraph("isel input for " + BlockName);
979 CurDAG->viewGraph("scheduler input for " + BlockName);
lib/DebugInfo/CodeView/TypeRecordMapping.cpp 108 MemberAttrs += ", " + MethodKind;
113 MemberAttrs += ", " + MethodOptions;
125 error(IO.mapInteger(Method.Attrs.Attrs, "Attrs: " + Attrs));
207 error(IO.mapEnum(RecordKind, "Record kind: " + RecordKindName));
250 error(IO.mapEnum(Record.Kind, "Member kind: " + MemberKindName));
274 error(IO.mapEnum(Record.Modifiers, "Modifiers" + ModifierNames));
286 error(IO.mapEnum(Record.CallConv, "CallingConvention: " + CallingConvName));
287 error(IO.mapEnum(Record.Options, "FunctionOptions" + FuncOptionNames));
304 error(IO.mapEnum(Record.CallConv, "CallingConvention: " + CallingConvName));
305 error(IO.mapEnum(Record.Options, "FunctionOptions" + FuncOptionNames));
342 Attr += "[ Type: " + PtrType;
346 Attr += ", Mode: " + PtrMode;
380 "Representation: " + PtrMemberGetRepresentation));
404 error(IO.mapEnum(Record.Options, "Properties" + PropertiesNames));
420 error(IO.mapEnum(Record.Options, "Properties" + PropertiesNames));
434 error(IO.mapEnum(Record.Options, "Properties" + PropertiesNames));
586 error(IO.mapEnum(Record.Mode, "Mode: " + ModeName));
594 error(IO.mapInteger(Record.Attrs.Attrs, "Attrs: " + Attrs));
605 error(IO.mapInteger(Record.Attrs.Attrs, "Attrs: " + Attrs));
618 error(IO.mapInteger(Record.Attrs.Attrs, "Attrs: " + Attrs));
657 error(IO.mapInteger(Record.Attrs.Attrs, "Attrs: " + Attrs));
669 error(IO.mapInteger(Record.Attrs.Attrs, "Attrs: " + Attrs));
lib/ExecutionEngine/Orc/CompileUtils.cpp 47 "<in memory object compiled from " + M.getModuleIdentifier() + ">");
lib/ExecutionEngine/Orc/LLJIT.cpp 222 "IndirectStubsManagerBuilder for target " +
lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp 295 report_fatal_error("Program used external function '" + Name +
lib/IR/DiagnosticHandler.cpp 33 report_fatal_error("Invalid regular expression '" + Val +
lib/IR/Verifier.cpp 4273 "Should be: " +
lib/LTO/LTOBackend.cpp 236 report_fatal_error("unable to parse AA pipeline description '" +
261 report_fatal_error("unable to parse pass pipeline description '" +
325 report_fatal_error("Failed to create directory " + Conf.DwoDir + ": " +
lib/LTO/ThinLTOCodeGenerator.cpp 548 report_fatal_error("Can't load target for this Triple: " + ErrMsg);
905 report_fatal_error("Unexistent dir: '" + SavedObjectsDirectoryPath + "'");
lib/Linker/IRMover.cpp 1374 return ".text\n.balign 2\n.thumb\n" + InlineAsm;
1376 return ".text\n.balign 4\n.arm\n" + InlineAsm;
1392 emitWarning("Linking two modules of different data layouts: '" +
1407 emitWarning("Linking two modules of different target triples: " +
lib/MC/MCParser/AsmParser.cpp 4987 "Could not find include file '" + Filename + "'"))
5030 return Error(IncbinLoc, "Could not find incbin file '" + Filename + "'");
lib/Object/Archive.cpp 83 std::string Msg("terminator characters in archive member \"" + Buf +
164 "not all decimal numbers: '" + Buf + "' for "
202 "not all decimal numbers: '" + Buf + "' for "
238 "all decimal numbers: '" + Buf + "' for archive "
256 "are not all decimal numbers: '" + Buf + "' for the "
276 "are not all decimal numbers: '" + Buf + "' for the "
296 "are not all decimal numbers: '" + Buf + "' for the "
315 "are not all decimal numbers: '" + Buf + "' for the "
385 "not all decimal numbers: '" + Buf + "' for "
lib/Object/WasmObjectFile.cpp 237 return make_error<StringError>("Out of order section type: " +
738 "Target features section contains repeated feature \"" +
lib/Support/Error.cpp 127 OS << (" " + Msg);
lib/Support/FileCheck.cpp 597 "invalid regex: " + Error);
lib/Support/TargetRegistry.cpp 36 Error = "error: invalid target '" + ArchName + "'.\n";
53 + TheTriple.getTriple()
74 Error = "No available targets are compatible with triple \"" + TT + "\"";
lib/Support/TimeProfiler.cpp 153 J.attribute("name", "Total " + E.first);
lib/Support/Unix/Program.inc 109 MakeErrMsg(ErrMsg, "Cannot open file '" + File + "' for "
lib/TableGen/Main.cpp 72 return reportError(argv0, "error opening " + DependFilename + ":" +
90 return reportError(argv0, "Could not open input file '" + InputFilename +
132 return reportError(argv0, "error opening " + OutputFilename + ":" +
lib/TableGen/SetTheory.cpp 227 PrintFatalError(Loc, "No def named '" + Name + "': " +
lib/TableGen/TGLexer.cpp 378 PrintError(getLoc(), "Could not find include file '" + Filename + "'");
385 "File '" + IncludedFile + "' has already been included.");
lib/TableGen/TGParser.cpp 441 "def already exists: " + Rec->getNameInitAsString());
540 std::string Msg("Couldn't find class '" + Lex.getCurStrVal() + "'");
565 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'");
2167 TokError("Cannot access field '" + Lex.getCurStrVal() + "' of value '" +
2388 TokError("'" + Str + "' is a reserved variable name");
2832 return TokError("Class '" + CurRec->getNameInitAsString() +
2969 return TokError("multiclass '" + Name + "' already defined");
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp 4380 return Error(Loc, "unrecognized instruction mnemonic" + Suggestion);
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp 559 Comment += " ; " + HexLines[i] + "\n";
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp 3529 return Error(IDLoc, "invalid instruction" + Suggestion,
lib/Target/ARM/AsmParser/ARMAsmParser.cpp10483 return Error(IDLoc, "invalid instruction" + Suggestion,
lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp 151 "can not encode offset '0x" +
266 "can not encode offset '0x" +
lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp 40 std::string Diagnostic = "out of range " + Description;
59 std::string Diagnostic = "out of range " + Description;
lib/Target/Mips/AsmParser/MipsAsmParser.cpp 1906 Warning(IDLoc, "ssnop is deprecated for " + ISA + " and is equivalent to a "
6612 return Error(NameLoc, "unknown instruction" + Suggestion);
lib/Target/Mips/Mips16HardFloat.cpp 264 std::string SectionName = ".mips16.call.fp." + Name;
265 std::string StubName = "__call_stub_fp_" + Name;
288 AsmText += "jal " + Name + "\n";
290 AsmText += "lui $$25, %hi(" + Name + ")\n";
291 AsmText += "addiu $$25, $$25, %lo(" + Name + ")\n";
452 std::string SectionName = ".mips16.fn." + Name;
453 std::string StubName = "__fn_stub_" + Name;
454 std::string LocalName = "$$__fn_local_" + Name;
471 AsmText += ".reloc 0, R_MIPS_NONE, " + Name + "\n";
472 AsmText += "la $$25, " + LocalName + "\n";
474 AsmText += "la $$25, " + Name + "\n";
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp 1153 return Error(IDLoc, "invalid instruction" + Suggestion,
lib/Target/PowerPC/PPCTargetMachine.cpp 165 FullFS = "+64bit," + FullFS;
172 FullFS = "+crbits," + FullFS;
179 FullFS = "+invariant-function-descriptors," + FullFS;
lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp 1289 return Error(IDLoc, "invalid instruction" + Suggestion,
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp 470 Function::Create(FTy, GlobalValue::ExternalLinkage, "__invoke_" + Sig, M);
lib/Target/X86/AsmParser/X86AsmParser.cpp 1330 "memory operand is only for determining the size, " + RegName +
lib/Target/X86/X86Subtarget.cpp 239 FullFS = "+sse2," + FullFS;
246 FullFS = "+64bit," + FullFS;
255 FullFS = "+sahf," + FullFS;
lib/Transforms/IPO/FunctionImport.cpp 1218 "Error loading file '" + SummaryFile + "': ");
lib/Transforms/IPO/LowerTypeTests.cpp 1672 ExitOnError ExitOnErr("-lowertypetests-read-summary: " + ClReadSummary +
1689 ExitOnError ExitOnErr("-lowertypetests-write-summary: " + ClWriteSummary +
lib/Transforms/IPO/WholeProgramDevirt.cpp 747 ExitOnError ExitOnErr("-wholeprogramdevirt-read-summary: " + ClReadSummary +
766 "-wholeprogramdevirt-write-summary: " + ClWriteSummary + ": ");
lib/Transforms/Instrumentation/AddressSanitizer.cpp 2436 ClInsertVersionCheck ? (kAsanVersionCheckNamePrefix + AsanVersion) : "";
2487 kAsanReportErrorTemplate + ExpStr + TypeStr + "_n" + EndingStr,
2499 kAsanReportErrorTemplate + ExpStr + Suffix + EndingStr,
2764 kAsanStackMallocNameTemplate + Suffix, IntptrTy, IntptrTy);
2766 M.getOrInsertFunction(kAsanStackFreeNameTemplate + Suffix,
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp 636 std::string SearchStr = ".symver " + GVName + ",";
640 ".symver " + Prefix + GVName + "," + Prefix);
lib/Transforms/Instrumentation/SanitizerCoverage.cpp 917 return "__DATA,__" + Section;
918 return "__" + Section;
924 return "\1section$start$__DATA$__" + Section;
925 return "__start___" + Section;
931 return "\1section$end$__DATA$__" + Section;
932 return "__stop___" + Section;
lib/Transforms/Instrumentation/ThreadSanitizer.cpp 222 SmallString<32> ReadName("__tsan_read" + ByteSizeStr);
226 SmallString<32> WriteName("__tsan_write" + ByteSizeStr);
230 SmallString<64> UnalignedReadName("__tsan_unaligned_read" + ByteSizeStr);
234 SmallString<64> UnalignedWriteName("__tsan_unaligned_write" + ByteSizeStr);
240 SmallString<32> AtomicLoadName("__tsan_atomic" + BitSizeStr + "_load");
244 SmallString<32> AtomicStoreName("__tsan_atomic" + BitSizeStr + "_store");
273 SmallString<32> AtomicCASName("__tsan_atomic" + BitSizeStr +
lib/Transforms/Utils/SymbolRewriter.cpp 256 report_fatal_error("unable to read rewrite map '" + MapFile + "': " +
260 report_fatal_error("unable to parse rewrite map '" + MapFile + "'");
356 YS.printError(Field.getKey(), "invalid regex: " + Error);
425 YS.printError(Field.getKey(), "invalid regex: " + Error);
488 YS.printError(Field.getKey(), "invalid regex: " + Error);
tools/bugpoint/ToolRunner.cpp 225 Message = "Found lli: " + *LLIPath + "\n";
396 Message = "Found command in: " + CmdPath + "\n";
524 Message = "Found llc: " + *LLCPath + "\n";
596 Message = "Found lli: " + *LLIPath + "\n";
847 Message = "Cannot find `" + CCBinary + "' in PATH: " +
856 Message = "Cannot find `" + RemoteClient + "' in PATH: " +
863 Message = "Found CC: " + *CCPath + "\n";
tools/clang/include/clang/StaticAnalyzer/Checkers/SValExplainer.h 185 return "parameter '" + Name + "'";
187 return "block variable '" + Name + "'";
189 return "local variable '" + Name + "'";
191 return "static local variable '" + Name + "'";
193 return "global variable '" + Name + "'";
tools/clang/lib/ARCMigrate/FileRemapper.cpp 68 return report("Error opening file: " + infoFile, Diag);
tools/clang/lib/AST/ASTDiagnostic.cpp 295 S = "'" + S + "' (aka '" + akaStr + "')";
315 S = "'" + S + "'";
tools/clang/lib/AST/Expr.cpp 845 Proto = "auto " + Proto;
tools/clang/lib/Basic/DiagnosticIDs.cpp 541 Res.push_back("-W" + Diag);
542 Res.push_back("-Wno-" + Diag);
tools/clang/lib/Basic/Targets/Hexagon.cpp 129 std::string VS = "hvxv" + HVXVersion;
tools/clang/lib/Basic/Targets/Mips.cpp 189 Builder.defineMacro("_MIPS_ARCH", "\"" + CPU + "\"");
tools/clang/lib/Basic/Targets/X86.cpp 909 Builder.defineMacro("__code_model_" + CodeModel + "_");
tools/clang/lib/CodeGen/BackendUtil.cpp 1513 "Error loading index file '" +
tools/clang/lib/CodeGen/CGBlocks.cpp 165 Name += "e" + llvm::to_string(TypeAtEncoding.size()) + "_" + TypeAtEncoding;
tools/clang/lib/CodeGen/CGCUDANV.cpp 288 "Can't find declaration for " + LaunchKernelName);
tools/clang/lib/CodeGen/CGDeclCXX.cpp 567 FTy, "_GLOBAL__I_" + PrioritySuffix, FI);
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp 197 appendStr("_AB" + llvm::to_string(FieldOffset.getQuantity()) + "s" +
242 this->appendStr("_" + llvm::to_string(SrcAlignment.getQuantity()));
249 this->appendStr("_t" + llvm::to_string(this->Start.getQuantity()) + "w" +
261 this->appendStr("_tv" + llvm::to_string(OffsetInBits) + "w" +
444 CGM.Error(Loc, "special function " + FuncName +
tools/clang/lib/CodeGen/CGObjCGNU.cpp 1434 std::string TypesVarName = ".objc_sel_types_" + MangledTypes;
2074 std::string SymbolName = "_OBJC_CLASS_" + Name;
2102 std::string symbolRef = "__objc_class_ref_" + className;
2106 std::string symbolName = "__objc_class_name_" + className;
2411 std::string typeinfoName = "__objc_eh_typeinfo_" + className;
2443 fields.finishAndCreateGlobal("__objc_eh_typeinfo_" + className,
3393 std::string classSymbolName = "__objc_class_name_" + ClassName;
3445 std::string OffsetName = "__objc_ivar_offset_value_" + ClassName +"." +
3835 TheModule.getGlobalVariable("_OBJC_CLASS_" + iter->first, true);
tools/clang/lib/CodeGen/CGObjCMac.cpp 1955 : "_" + StringClass + "ClassReference";
1971 : "OBJC_CLASS_$_" + StringClass;
2896 Str += "l" + llvm::to_string(R.block_var_size.getQuantity());
tools/clang/lib/CodeGen/CGStmt.cpp 2041 Constraints += "=" + OutputConstraint;
tools/clang/lib/Driver/SanitizerArgs.cpp 1032 CmdArgs.push_back(Args.MakeArgString("hwasan-abi=" + HwasanAbi));
1159 return "-fsanitize=" + Sanitizers;
tools/clang/lib/Driver/ToolChains/Ananas.cpp 63 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
tools/clang/lib/Driver/ToolChains/Arch/ARM.cpp 471 Features.push_back(Args.MakeArgString("-" + Feature));
tools/clang/lib/Driver/ToolChains/Arch/RISCV.cpp 78 std::string Error = "unsupported version number " + Major;
80 Error += "." + Minor;
tools/clang/lib/Driver/ToolChains/CloudABI.cpp 43 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
tools/clang/lib/Driver/ToolChains/CrossWindows.cpp 84 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
tools/clang/lib/Driver/ToolChains/DragonFly.cpp 60 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
tools/clang/lib/Driver/ToolChains/FreeBSD.cpp 141 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
tools/clang/lib/Driver/ToolChains/Fuchsia.cpp 59 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
tools/clang/lib/Driver/ToolChains/Gnu.cpp 376 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
1098 {"/../sysroot" + M.osSuffix() + "/usr/include"});
1262 return std::vector<std::string>({"/../../../../sysroot" +
1268 {"/../../../../mips-mti-linux-gnu/lib" + M.gccSuffix()});
1355 return std::vector<std::string>({"/../../../../sysroot" +
1361 {"/../../../../mips-img-linux-gnu/lib" + M.gccSuffix()});
tools/clang/lib/Driver/ToolChains/HIP.cpp 244 Prefix += "-" + SubArchName;
332 std::string ISAVerBC = "oclc_isa_version_" + GFXVersion + ".amdgcn.bc";
tools/clang/lib/Driver/ToolChains/Hexagon.cpp 286 "hexagon/lib" + (UseG0 ? MCpuG0Suffix : MCpuSuffix);
tools/clang/lib/Driver/ToolChains/Linux.cpp 282 ExtraOpts.push_back("--sysroot=" + SysRoot);
542 return "/lib/ld-musl-" + ArchName + ".so.1";
646 return "/usr/" + Triple.str() + "/lib/" + Loader;
647 return "/" + LibDir + "/" + Loader;
929 "/c++/" + Version.Text, TripleStr,
tools/clang/lib/Driver/ToolChains/MSP430.cpp 194 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
tools/clang/lib/Driver/ToolChains/MSVC.cpp 354 CmdArgs.push_back(Args.MakeArgString("-libpath:" + LibPath));
tools/clang/lib/Driver/ToolChains/MinGW.cpp 112 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
tools/clang/lib/Driver/ToolChains/MipsLinux.cpp 61 D.getInstalledDir() + Path);
100 Path = getDriver().getInstalledDir() + Path + "/c++/v1";
123 llvm::sys::path::append(Path, SelectedMultilib.osSuffix(), "lib" + LibSuffix,
tools/clang/lib/Driver/ToolChains/NaCl.cpp 73 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
tools/clang/lib/Driver/ToolChains/NetBSD.cpp 49 CmdArgs.push_back(Args.MakeArgString("-mcpu=" + Arch));
120 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
tools/clang/lib/Driver/ToolChains/PS4CPU.cpp 106 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
166 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
tools/clang/lib/Driver/ToolChains/RISCVToolchain.cpp 100 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));
tools/clang/lib/Driver/ToolChains/Solaris.cpp 284 addLibStdCXXIncludePaths(LibDir.str() + "/../include", "/c++/" + Version.Text,
tools/clang/lib/Format/NamespaceEndCommentsFixer.cpp 227 AllNamespaceNames = "::" + NamespaceName + AllNamespaceNames;
tools/clang/lib/Frontend/CompilerInstance.cpp 1722 Timer.init("loading." + ModuleFileName, "Loading " + ModuleFileName,
1722 Timer.init("loading." + ModuleFileName, "Loading " + ModuleFileName,
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 2288 TypeAsString += " " + Name + " = ";
2569 Preamble += "static __NSConstantStringImpl " + S;
4027 ResultStr += "__Block_byref_" + Name +
4042 std::string StructRef = "struct " + Tag;
4055 S += "(" + StructRef + " *__cself)";
4057 S += "(" + StructRef + " *__cself)";
4136 std::string StructRef = "struct " + Tag;
4141 S += "(" + StructRef;
4142 S += "*dst, " + StructRef;
4161 S += "(" + StructRef;
4179 std::string S = "\nstruct " + Tag;
4180 std::string Constructor = " " + Tag;
4183 S += " struct " + Desc;
4187 Constructor += "struct " + Desc; // Descriptor pointer.
4196 std::string ArgName = "_" + FieldName;
4209 Constructor += ", void *" + ArgName;
4216 Constructor += ", " + ArgName;
4225 std::string ArgName = "_" + FieldName;
4232 Constructor += ", " + ArgName;
4296 std::string S = "\nstatic struct " + DescTag;
5046 ByrefType += " " + Name + ";\n";
5096 ByrefType += " " + Name + " = {(void*)";
5098 ByrefType += "," + ForwardingCastType + "&" + Name + ", ";
5253 std::string Func = "__" + FuncName + "_block_func_" + BlockNumber;
5286 std::string DescData = "__" + FuncName + "_block_desc_" + BlockNumber + "_DATA";
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp 2200 TypeAsString += " " + Name + " = ";
2494 Preamble += "static __NSConstantStringImpl " + S;
3241 ResultStr += "__Block_byref_" + Name +
3256 std::string StructRef = "struct " + Tag;
3265 S += "(" + StructRef + " *__cself)";
3267 S += "(" + StructRef + " *__cself)";
3346 std::string StructRef = "struct " + Tag;
3351 S += "(" + StructRef;
3352 S += "*dst, " + StructRef;
3371 S += "(" + StructRef;
3389 std::string S = "\nstruct " + Tag;
3390 std::string Constructor = " " + Tag;
3393 S += " struct " + Desc;
3397 Constructor += "struct " + Desc; // Descriptor pointer.
3406 std::string ArgName = "_" + FieldName;
3419 Constructor += ", void *" + ArgName;
3426 Constructor += ", " + ArgName;
3435 std::string ArgName = "_" + FieldName;
3442 Constructor += ", " + ArgName;
3506 std::string S = "\nstatic struct " + DescTag;
4203 ByrefType += " " + Name + ";\n";
4245 ByrefType += " " + Name + " = {(void*)";
4247 ByrefType += "," + ForwardingCastType + "&" + Name + ", ";
4276 ByrefType += " " + Name;
4279 ByrefType += "," + ForwardingCastType + "&" + Name + ", ";
4398 std::string Tag = "__" + FuncName + "_block_impl_" + BlockNumber;
4399 std::string Func = "__" + FuncName + "_block_func_" + BlockNumber;
4424 std::string DescData = "__" + FuncName + "_block_desc_" + BlockNumber + "_DATA";
tools/clang/lib/Rewrite/HTMLRewrite.cpp 659 Expansion = "<span class='macro_popup'>" + Expansion + "</span></span>";
tools/clang/lib/Sema/SemaCodeComplete.cpp 2804 Result = "(" + Quals + " " + Result + ")";
2913 return " = " + DefValue;
2915 return " " + DefValue;
tools/clang/lib/Sema/SemaExpr.cpp 427 << FixItHint::CreateInsertion(MissingNilLoc, ", " + NullValue);
11224 RHSStr = "-" + RHSStr;
11226 RHSStr = "+" + RHSStr;
11247 std::string SuggestedExpr = "1 << " + RHSStr;
11254 << ExprStr << XorValue.toString(10, true) << ("1LL << " + RHSStr)
11255 << FixItHint::CreateReplacement(ExprRange, "1LL << " + RHSStr);
11268 S.Diag(Loc, diag::note_xor_used_as_pow_silence) << ("0x2 ^ " + RHSStr) << SuggestXor;
11274 S.Diag(Loc, diag::note_xor_used_as_pow_silence) << ("0xA ^ " + RHSStr) << SuggestXor;
tools/clang/lib/Sema/SemaFixItUtils.cpp 204 s = " = " + s;
tools/clang/lib/Sema/SemaOverload.cpp 5743 "static_cast<" + TypeStr + ">(")
tools/clang/lib/Sema/SemaStmtAsm.cpp 513 SuggestedModifier = "%" + SuggestedModifier + Piece.getString();
tools/clang/lib/Serialization/ASTReader.cpp 3927 Error("could not find file '" + Filename +"' referenced by AST file");
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp 628 "\"" + ErrorMsg + "\"");
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp 617 llvm::Twine("(Enable only for development!) " + Desc).str());
tools/clang/lib/Tooling/CommonOptionsParser.cpp 118 return llvm::make_error<llvm::StringError>("[CommonOptionsParser]: " +
tools/clang/lib/Tooling/Core/Lookup.cpp 174 Disambiguated = "::" + Disambiguated;
tools/clang/lib/Tooling/Inclusions/HeaderIncludes.cpp 341 NewInclude = "\n" + NewInclude;
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp 233 Result.Heuristic = "inferred from " + Cmd.Filename;
tools/clang/lib/Tooling/Refactoring/AtomicChange.cpp 156 std::string ReplacementText = "#include " + EscapedHeader;
tools/clang/lib/Tooling/Refactoring/Rename/RenamingAction.cpp 97 return llvm::make_error<llvm::StringError>("Could not find symbol " +
tools/clang/lib/Tooling/Transformer/Stencil.cpp 170 errc::invalid_argument, "Id not bound or not Expr: " + Data.Id);
186 "Could not construct expression source from ID: " + Data.Id);
205 "Id not bound: " + Data.BaseId);
215 "Could not construct object text from ID: " + Data.BaseId);
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp 661 "'" + FilesType + "': invalid file type specified");
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp 330 errc::invalid_argument, "'" + Target + "': unsupported target triple"));
tools/clang/tools/driver/cc1as_main.cpp 427 FS += "," + Opts.Features[i];
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 373 std::string FullOldNs = "::" + OldNamespace;
842 assert(StringRef(AliasQualifiedName).endswith("::" + AliasName));
882 ReplaceName = "::" + ReplaceName;
952 addReplacementOrDie(Start, End, "using ::" + TargetDeclName,
tools/clang/tools/extra/clang-doc/MDGenerator.cpp 208 writeLine("Inherits from " + VParents, OS);
210 writeLine("Inherits from " + Parents, OS);
212 writeLine("Inherits from " + Parents + ", " + VParents, OS);
tools/clang/tools/extra/clang-doc/tool/ClangDocMain.cpp 298 "." + Format);
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp 333 : "\"" + FilePath + "\""),
408 "#include " + Context.getHeaderInfos().front().Header + "\n";
tools/clang/tools/extra/clang-include-fixer/tool/ClangIncludeFixer.cpp 365 : "\"" + HeaderPath + "\""));
tools/clang/tools/extra/clang-move/Move.cpp 380 NewCode += "#ifndef " + GuardName + "\n";
381 NewCode += "#define " + GuardName + "\n\n";
423 NewCode += "} // namespace " + *It + "\n";
434 NewCode += "namespace " + *DeclIt + " {\n";
448 NewCode += "} // namespace " + NS + "\n";
451 NewCode += "\n#endif // " + GuardName + "\n";
488 CCIncludes.push_back("#include \"" + Context->Spec.NewHeader + "\"\n");
769 "#include \"" + Context->Spec.NewHeader + "\"\n";
829 ? "#include \"" + Context->Spec.OldHeader + "\"\n"
tools/clang/tools/extra/clang-query/Query.cpp 120 DiagnosticsEngine::Note, "\"" + BI->first + "\" binds here",
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp 454 CheckNames.push_back(AnalyzerCheckNamePrefix + AnalyzerCheck.first);
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp 50 std::string CheckNameInMessage = " [" + Error.DiagnosticName + "]";
229 return "clang-diagnostic-" + ClangWarningOption;
tools/clang/tools/extra/clang-tidy/bugprone/CopyConstructorInitCheck.cpp 89 FixItInitList += "(" + ParamName + "), ";
107 FixItMsg = " : " + FixItMsg;
tools/clang/tools/extra/clang-tidy/bugprone/InaccurateEraseCheck.cpp 66 Hint = FixItHint::CreateInsertion(EndLoc, ", " + ReplacementText);
tools/clang/tools/extra/clang-tidy/bugprone/MoveForwardingReferenceCheck.cpp 52 Diag << FixItHint::CreateReplacement(CallRange, "std::" + ForwardName);
58 "std::" + ForwardName);
62 "::std::" + ForwardName);
tools/clang/tools/extra/clang-tidy/cert/LimitedRandomnessCheck.cpp 32 diag(MatchedDecl->getBeginLoc(), "rand() has limited randomness" + msg);
tools/clang/tools/extra/clang-tidy/llvm/HeaderGuardCheck.cpp 54 Guard = "LLVM_" + Guard;
tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp 115 LeftText = "*" + LeftText;
117 RightText = "*" + RightText;
121 RightText = "std::move(" + RightText + ")";
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp 606 Usage.Kind == Usage::UK_CaptureByCopy ? "&" + VarName : VarName;
645 std::string Range = ("(" + TypeString + " " + VarName + " : " +
tools/clang/tools/extra/clang-tidy/modernize/RawStringLiteralCheck.cpp 68 : (")" + Delimiter + R"(")")) != StringRef::npos;
82 return (R"(R")" + Delimiter + "(" + Bytes + ")" + Delimiter + R"(")").str();
tools/clang/tools/extra/clang-tidy/modernize/ReplaceRandomShuffleCheck.cpp 92 NewName = "std::" + NewName;
tools/clang/tools/extra/clang-tidy/modernize/UseEqualsDefaultCheck.cpp 302 auto Diag = diag(Location, "use '= default' to define a trivial " +
tools/clang/tools/extra/clang-tidy/modernize/UseNodiscardCheck.cpp 128 auto Diag = diag(RetLoc, "function %0 should be marked " + NoDiscardMacro)
tools/clang/tools/extra/clang-tidy/modernize/UseOverrideCheck.cpp 174 ReplacementText = " " + OverrideSpelling;
195 ReplacementText = " " + OverrideSpelling + " ";
202 ReplacementText = " " + OverrideSpelling;
tools/clang/tools/extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp 473 << FixItHint::CreateInsertion(InsertionLoc, " -> " + ReturnType);
tools/clang/tools/extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp 232 PartialReserveStmt = "." + MutableFieldName +
tools/clang/tools/extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp 119 ReplacementText = "(" + ReplacementText + ")";
128 ReplacementText = "!" + ReplacementText;
186 ReplacementText = "!" + ReplacementText;
199 "!" + ReplacementText);
tools/clang/tools/extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp 605 std::string Replacement = ("return " + Condition + Terminator).str();
tools/clang/tools/extra/clang-tidy/utils/HeaderGuard.cpp 248 StartLoc, "#ifndef " + CPPVar + "\n#define " + CPPVar + "\n\n")
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp 663 ("edits were not applied: " + Reason).c_str()));
901 Cmd.title = "Apply fix: " + Cmd.title;
tools/clang/tools/extra/clangd/CodeComplete.cpp 1806 (Opts.ShowOrigins ? "[" + llvm::to_string(Origin) + "]" : "") +
1814 LSP.detail += "\n" + InsertInclude->Header;
tools/clang/tools/extra/clangd/FormattedString.cpp 182 R += "text[" + C.Contents + "]";
185 R += "code[" + C.Contents + "]";
tools/clang/tools/extra/clangd/Headers.cpp 213 Suggested = "<" + Suggested + ">";
215 Suggested = "\"" + Suggested + "\"";
tools/clang/tools/extra/clangd/unittests/DiagnosticsTests.cpp 52 "Diag at " + llvm::to_string(Range) + " = [" + Message + "]") {
57 "Fix " + llvm::to_string(Range) + " => " +
68 "LSP diagnostic " + llvm::to_string(LSPDiag)) {
82 MATCHER_P(EqualToFix, Fix, "LSP fix " + llvm::to_string(Fix)) {
tools/clang/tools/extra/clangd/unittests/ParsedASTTests.cpp 66 return ArgName == "<" + SpecializationArgs + ">";
tools/clang/tools/extra/clangd/unittests/TUSchedulerTests.cpp 316 S, Path, "//" + ID, WantDiagnostics::Yes,
tools/clang/tools/extra/clangd/unittests/TestTU.cpp 29 std::string ThunkContents = "#import \"" + FullHeaderName + "\"\n";
tools/clang/tools/extra/clangd/unittests/TweakTesting.cpp 110 return "message:\n" + *Result->ShowMessage;
tools/clang/tools/extra/clangd/unittests/TweakTests.cpp 949 Header = "void bar();" + Header;
tools/clang/tools/extra/modularize/ModuleAssistant.cpp 160 SafeName = "_" + SafeName;
tools/clang/tools/extra/unittests/clang-doc/HTMLGeneratorTest.cpp 136 <span class="no-break">)raw" +
259 <span class="no-break">)raw" +
312 <span class="no-break">)raw" +
361 <span class="no-break">)raw" +
446 <span class="no-break">)raw" +
tools/clang/tools/extra/unittests/clang-include-fixer/FuzzySymbolIndexTests.cpp 31 llvm::Regex Pattern("^" + arg);
40 return llvm::Regex("^" + arg).match(Target);
tools/clang/tools/extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests.cpp 113 Content += "\n#include \"" + DirtyHeader + "\"";
tools/clang/tools/extra/unittests/clang-move/ClangMoveTests.cpp 257 std::string ExpectedHeader = "#include \"" + Spec.NewHeader + "\"\n\n";
492 const std::string TestCode = "#include \"foo.h\"\n" + CommonCode;
495 "\n" +
499 const std::string ExpectedNewCC = "#include \"new_foo.h\"\n" + CommonCode;
tools/clang/tools/extra/unittests/clang-tidy/GoogleModuleTest.cpp 73 Header + Code, &Errors, Filename, Args);
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp 217 S += "void test_fn() { " + Body + " }";
tools/clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp 114 const std::string ModExpr = "x " + GetParam() + " 10";
115 const auto AST = buildASTFromCode("void f() { int x; " + ModExpr + "; }");
129 const auto AST = buildASTFromCode("void f() { int x; " + ModExpr + "; }");
tools/clang/unittests/Frontend/CompilerInstanceTest.cpp 51 const std::string VFSArg = "-ivfsoverlay" + FileNameStr;
tools/clang/unittests/Tooling/CompilationDatabaseTest.cpp 389 R"([{"directory":"//net/dir", "file":"//net/dir/foo.c", "command":")" +
tools/clang/unittests/Tooling/ExecutionTest.cpp 277 FileToContent[File] = "void " + Symbol + "() {}";
tools/clang/utils/TableGen/ClangAttrEmitter.cpp 1640 Ret += " " + EnumName + " = " + llvm::utostr(Idx);
3784 Spelling, "return AttributeCommonInfo::AT_" + AttrName + ";"));
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp 632 PrintFatalError("Failed to find substitution with name: " + S->Name);
792 *I = "|" + *I + "|";
858 RST[Start + I] += Separator + Lines[I];
861 RST[I] += Separator + Empty;
862 EmptyLinePrefix += Separator + Empty;
1467 PrintFatalError("Invalid character in diagnostic group '" + I.first +
tools/clang/utils/TableGen/MveEmitter.cpp 204 Name = "const " + Name;
646 "Intrinsic::ID", "Intrinsic::arm_mve_" + IntrinsicID);
798 SemaChecks.push_back("SemaBuiltinConstantArg(TheCall, " + Index + ")");
800 SemaChecks.push_back("SemaBuiltinConstantArgRange(TheCall, " + Index +
1314 FunctionName = "__arm_" + FunctionName;
tools/clang/utils/TableGen/NeonEmitter.cpp 278 std::string getName() const { return "__" + N; }
641 S = "S" + S;
643 S = "U" + S;
648 S = "I" + S;
1166 S.insert(S.length() - 3, "_" + typeCode);
1168 S += "_" + typeCode;
1232 RetVar = Variable(Types[0], "ret" + VariablePostfix);
1762 std::string S = "__builtin_shufflevector(" + Arg1.second + ", " + Arg2.second;
1839 std::string S = "__builtin_shufflevector(" + A.second + ", " + A.second;
1841 S += ", " + B.second;
1880 assert_with_loc(Idx != std::string::npos, "name should contain '" + ToReplace + "'!");
2038 "No compatible intrinsic found - " + ErrMsg);
2039 assert_with_loc(GoodVec.size() == 1, "Multiple overloads found - " + ErrMsg);
tools/dsymutil/DwarfLinker.cpp 2175 reportWarning("Anonymous module skeleton CU for " + PCMfile, DMO);
tools/dsymutil/DwarfStreamer.cpp 67 return error("no asm info for target " + TripleName, Context);
75 return error("no subtarget info for target " + TripleName, Context);
79 return error("no asm backend for target " + TripleName, Context);
83 return error("no instr info info for target " + TripleName, Context);
87 return error("no code emitter for target " + TripleName, Context);
110 return error("no object streamer for target " + TripleName, Context);
116 return error("no target machine for target " + TripleName, Context);
120 return error("no asm printer for target " + TripleName, Context);
tools/dsymutil/SymbolMap.cpp 58 UnobfuscatedStrings.emplace_back("_" + Translation);
tools/lld/COFF/Driver.cpp 236 "could not open '" + pathStr + "': " + mbOrErr.second.message();
783 fatal("cannot create temporary file for import library " + path + ": " +
897 s = "_" + s;
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());
340 fatal("failed to remove " + path);
352 "could not open " + path);
415 fatal("failed to open " + Default.path + ": " + ec.message());
434 return CHECK(MemoryBuffer::getFile(user.path), "could not open " + user.path)
tools/lld/COFF/MapFile.cpp 97 fatal("cannot open " + config->mapFile + ": " + ec.message());
tools/lld/COFF/PDB.cpp 1541 mod = &exitOnErr(dbiBuilder.addModuleInfo("Import:" + file->dllName));
tools/lld/ELF/InputSection.cpp 345 archive = " in archive " + file->archiveName;
tools/lld/ELF/LinkerScript.cpp 773 error("memory region '" + sec->memoryRegionName + "' not declared");
979 error("memory region '" + sec->lmaRegionName + "' not declared");
tools/lld/MinGW/Driver.cpp 145 error("lld doesn't support linking directly against " + *s +
150 error("lld doesn't support linking directly against " + *s +
tools/lld/wasm/Writer.cpp 162 name = saver.save("reloc." + sec->name);
434 error("'atomics' feature is disallowed by " + disallowed["atomics"] +
tools/lldb/source/Commands/CommandObjectType.cpp 1283 (" " + m_options.m_python_function + "(valobj,internal_dict)");
1320 std::string code = " " + m_options.m_python_script;
tools/lldb/source/Expression/IRExecutionUnit.cpp 304 "jit-object-" + module->getModuleIdentifier() + "-%%%.o";
tools/lldb/source/Host/linux/Host.cpp 279 std::string process_task_dir = procdir + llvm::to_string(pid) + taskdir;
tools/lldb/source/Plugins/InstrumentationRuntime/ASan/ASanRuntime.cpp 235 .Default("AddressSanitizer detected: " + description);
tools/lldb/source/Plugins/InstrumentationRuntime/TSan/TSanRuntime.cpp 665 summary = "Race on " + object_type + " object";
tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp 234 RegularExpression{R"(^)" + func_to_match}, eSymbolTypeAny, scl);
tools/lldb/source/Plugins/Platform/Android/AdbClient.cpp 144 std::string uri = "connect://localhost:" + port;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp 1083 std::string packet = "QEnableCompression:type:" + avail_name + ";";
tools/lldb/unittests/Interpreter/TestCompletion.cpp 70 ASSERT_NO_ERROR(fs::createUniqueDirectory("FsCompletion-" + name, BaseDir));
242 EXPECT_THAT(toVector(Results), UnorderedElementsAre("~" + sep));
248 "~/foo" + sep, "~/fooa" + sep, "~/foob" + sep, "~/fooc" + sep,
248 "~/foo" + sep, "~/fooa" + sep, "~/foob" + sep, "~/fooc" + sep,
248 "~/foo" + sep, "~/fooa" + sep, "~/foob" + sep, "~/fooc" + sep,
248 "~/foo" + sep, "~/fooa" + sep, "~/foob" + sep, "~/fooc" + sep,
249 "~/bar" + sep, "~/baz" + sep, "~/test_folder" + sep));
249 "~/bar" + sep, "~/baz" + sep, "~/test_folder" + sep));
249 "~/bar" + sep, "~/baz" + sep, "~/test_folder" + sep));
253 EXPECT_THAT(toVector(Results), UnorderedElementsAre("~/foo/nested" + sep));
256 EXPECT_THAT(toVector(Results), UnorderedElementsAre("~/foo/nested" + sep));
262 EXPECT_THAT(toVector(Results), UnorderedElementsAre("~Lars" + sep));
271 UnorderedElementsAre("~Lars" + sep, "~Larry" + sep));
271 UnorderedElementsAre("~Lars" + sep, "~Larry" + sep));
tools/lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp 300 const std::string json_packet = "JSON-async:" + json_payload;
tools/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp 83 HandlePacket(server, "P4=" + one_register_hex + ";thread:0047;", "OK");
90 HandlePacket(server, "G" + all_registers_hex + ";thread:0047;", "OK");
103 HandlePacket(server, "P4=" + one_register_hex, "OK");
110 HandlePacket(server, "G" + all_registers_hex, "OK");
tools/lldb/utils/TableGen/LLDBOptionDefEmitter.cpp 163 std::string NeededMacro = "LLDB_OPTIONS_" + ID;
169 OS << "constexpr static OptionDefinition g_" + ID + "_options[] = {\n";
tools/lldb/utils/TableGen/LLDBPropertyDefEmitter.cpp 124 std::string NeededMacro = "LLDB_PROPERTIES_" + PropertyName;
147 std::string NeededMacro = "LLDB_PROPERTIES_" + PropertyName;
tools/llvm-ar/llvm-ar.cpp 967 fail("error opening '" + ArchiveName + "': " + EC.message());
972 failIfError(std::move(Err), "unable to load '" + ArchiveName + "'");
tools/llvm-config/llvm-config.cpp 335 ("-I" + ActiveIncludeDir + " " + "-I" + ActiveObjRoot + "/include");
344 ActiveIncludeOption = "-I" + ActiveIncludeDir;
tools/llvm-cov/CodeCoverage.cpp 755 error("Unknown architecture: " + Arch);
876 : "Created: " + ModifiedTimeStr;
924 warning("Could not read coverage for '" + Function->Name + "'.");
tools/llvm-cov/SourceCoverageViewHTML.cpp 55 std::string Tag = "<" + Name;
57 Tag += " class='" + ClassName + "'";
64 std::string Name = TargetName.empty() ? "" : ("name='" + TargetName + "' ");
65 return "<a " + Name + "href='" + Link + "'>" + Str + "</a>";
256 PathToStyle += ".." + PathSep;
626 std::string TargetName = "L" + LineNoStr;
627 OS << tag("td", a("#" + TargetName, tag("pre", LineNoStr), TargetName),
tools/llvm-dwarfdump/llvm-dwarfdump.cpp 588 error("Unable to open output file" + OutputFilename, EC);
tools/llvm-dwp/llvm-dwp.cpp 683 return error("no asm info for target " + TripleName, Context);
692 return error("no subtarget info for target " + TripleName, Context);
697 return error("no asm backend for target " + TripleName, Context);
701 return error("no instr info info for target " + TripleName, Context);
705 return error("no code emitter for target " + TripleName, Context);
727 return error("no object streamer for target " + TripleName, Context);
tools/llvm-exegesis/llvm-exegesis.cpp 311 report_fatal_error("cannot open out file: " + OutputFilename);
tools/llvm-jitlink/llvm-jitlink-macho.cpp 33 return make_error<StringError>("GOT entry in " + G.getName() + ", \"" +
47 "GOT entry in " + G.getName() + ", \"" +
68 "Stubs entry in " + G.getName() + ", \"" +
tools/llvm-jitlink/llvm-jitlink.cpp 570 return make_error<StringError>("\"" + Dylib + "\" is not a regular file",
679 ExitOnErr(make_error<StringError>("Error accessing target '" + TripleName +
687 make_error<StringError>("Unable to create subtarget for " + TripleName,
693 "for " +
701 ExitOnErr(make_error<StringError>("Unable to create target asm info " +
710 ExitOnErr(make_error<StringError>("Unable to create disassembler for " +
749 "Some checks in " + CheckFile + " failed", inconvertibleErrorCode()));
tools/llvm-lto/llvm-lto.cpp 332 ExitOnError ExitOnErr("llvm-lto: error loading file '" + Filename + "': ");
415 ExitOnError ExitOnErr("llvm-lto: error loading file '" + Filename + "': ");
424 error(EC, "error opening the file '" + OutputFilename + ".thinlto.bc'");
470 error(InputOrErr, "error " + CurrentActivity);
479 ExitOnError ExitOnErr("llvm-lto: error loading file '" + ThinLTOIndex +
573 std::string CurrentActivity = "loading file '" + Filename + "'";
575 error(InputOrErr, "error " + CurrentActivity);
585 error(EC, "error opening the file '" + OutputFilename + "'");
623 error(EC, "error opening the file '" + OutputName + "'");
788 error(InputOrErr, "error " + CurrentActivity);
806 error(EC, "error opening the file '" + OutputName + "'");
825 std::string CurrentActivity = "loading file '" + Filename + "'";
827 error(InputOrErr, "error " + CurrentActivity);
852 error(EC, "error opening the file '" + OutputName + "'");
946 CurrentActivity = "loading file '" + InputFilenames[i] + "'";
970 error("error adding file '" + InputFilenames[i] + "'");
1025 error("error opening the file '" + PartFilename + "': " + EC.message());
tools/llvm-nm/llvm-nm.cpp 1932 "file: " + Filename + " does not contain architecture");
2121 error("Unknown architecture named '" + ArchFlags[i] + "'",
tools/llvm-objcopy/ELF/Object.cpp 126 error("cannot write symbol section index table '" + Sec.Name + "' ");
130 error("cannot write symbol table '" + Sec.Name + "' out to binary");
134 error("cannot write relocation section '" + Sec.Name + "' out to binary");
138 error("cannot write '" + Sec.Name + "' out to binary");
142 error("cannot write '" + Sec.Name + "' out to binary");
443 error("cannot write compressed section '" + Sec.Name + "' ");
472 error("cannot write compressed section '" + Sec.Name + "' ");
1344 error("the content of the section " + GroupSec->Name + " is malformed");
tools/llvm-objdump/MachODump.cpp 2308 << "unknown architecture named '" + ArchFlags[i] +
2452 << "architecture: " + ArchFlags[i] + "\n";
tools/llvm-objdump/llvm-objdump.cpp 483 reportError(Obj->getFileName(), "can't find target: " + Error);
583 reportWarning("failed to find source " + LineInfo.FileName,
625 Warning += ": " + ErrorMessage;
1540 "no register info for target " + TripleName);
1548 "no assembly info for target " + TripleName);
1553 "no subtarget info for target " + TripleName);
1557 "no instruction info for target " + TripleName);
1566 reportError(Obj->getFileName(), "no disassembler for target " + TripleName);
1592 "no instruction printer for target " + TripleName);
tools/llvm-opt-report/OptReport.cpp 395 "U" + UStr(LLI) : (NothingUnrolled ? "" : " " + USpaces));
397 "V" + VStr(LLI) : (NothingVectorized ? "" : " " + VSpaces));
410 (NothingUnrolled ? "" : " " + USpaces));
413 (NothingVectorized ? "" : " " + VSpaces));
tools/llvm-rc/llvm-rc.cpp 182 fatalError("Error opening output file '" + OutArgsInfo[0] +
tools/llvm-readobj/ELFDumper.cpp 2736 return "0 (" + to_string(Arr[0].sh_size) + ")";
2774 Str = "0x" + to_hexString(e->e_ident[ELF::EI_ABIVERSION]);
2780 Str = "0x" + to_hexString(e->e_version);
2782 Str = "0x" + to_hexString(e->e_entry);
2796 Str = "0x" + to_hexString(e->e_flags);
3070 return "LOOS+0x" + to_hexString(Type - SHT_LOOS);
3072 return "LOPROC+0x" + to_hexString(Type - SHT_LOPROC);
3074 return "LOUSER+0x" + to_hexString(Type - SHT_LOUSER);
3075 return "0x" + to_hexString(Type) + ": <unknown>";
3344 " [<other: " + to_string(format_hex(Symbol->st_other, 2)) + ">]";
3822 VersionName = "(" + VersionName + ")";
5875 "Unknown (" + to_string(format_hex(Type, 10)) + ")");
tools/llvm-reduce/TestRunner.cpp 34 Error E = make_error<StringError>("Error running interesting-ness test: " +
tools/llvm-rtdyld/llvm-rtdyld.cpp 235 ExitOnErr(make_error<StringError>("Could not find definition for \"" +
350 report_fatal_error("Dylib not found: '" + Dylib + "'.");
353 report_fatal_error("Error loading '" + Dylib + "': " + ErrMsg);
388 ErrorAndExit("unable to create object file: '" + Buf + "'");
523 ErrorAndExit("unable to create object file: '" + Buf + "'");
546 ErrorAndExit("no definition for '" + EntryPoint + "'");
587 ErrorAndExit("unable to read input '" + CheckerFileName + "': " +
592 ErrorAndExit("some checks in '" + CheckerFileName + "' failed");
711 report_fatal_error("Invalid dummy symbol specification '" + Mapping +
719 report_fatal_error("Invalid symbol mapping '" + Mapping + "'.");
740 ErrorAndExit("Error accessing target '" + TripleName + "': " + ErrorStr);
915 ErrorAndExit("unable to create object file: '" + Buf + "'");
tools/llvm-size/llvm-size.cpp 668 error("file does not contain architecture " + ArchFlags[i], file);
tools/opt/PassPrinters.cpp 41 PassName = "FunctionPass Printer: " + PassToPrintName;
74 PassName = "CallGraphSCCPass Printer: " + PassToPrintName;
111 PassName = "ModulePass Printer: " + PassToPrintName;
143 PassName = "LoopPass Printer: " + PassToPrintName;
176 PassName = "RegionPass Printer: " + PassToPrintName;
211 PassName = "BasicBlockPass Printer: " + PassToPrintName;
tools/polly/lib/Analysis/ScopDetection.cpp 319 report_fatal_error("invalid regex given as input to polly: " + Err, true);
tools/polly/lib/Analysis/ScopDetectionDiagnostic.cpp 229 return "Unreachable in exit block" + BBName;
415 return "The array \"" + Name +
442 return "The array subscript of \"" + Name + "\" is not affine";
tools/polly/lib/Analysis/ScopInfo.cpp 900 std::string IdName = Stmt->getBaseName() + Access;
918 std::string IdName = Stmt->getBaseName() + Access;
1481 Name = "__" + Iterator->getValue();
tools/polly/lib/Transform/RewriteByReferenceParameters.cpp 70 "polly_byref_alloca_" + InstName, &*Entry->begin());
73 new LoadInst(Alloca, "polly_byref_load_" + InstName, &Inst);
77 "polly_byref_cast_" + InstName, &Inst);
tools/sancov/sancov.cpp 376 failIf(DI == S.end(), "empty document: " + InputFile);
378 failIf(!Root, "expecting root node: " + InputFile);
380 failIf(!Top, "expecting mapping node: " + InputFile);
388 failIf(!Points, "expected array: " + InputFile);
398 failIf(!PointSymbolInfo, "expected mapping node: " + InputFile);
405 failIf(!FileInfo, "expected mapping node: " + InputFile);
412 failIf(!FunctionInfo, "expected mapping node: " + InputFile);
419 failIf(ColonPos == std::string::npos, "expected ':': " + InputFile);
715 failIfEmpty(STI, "no subtarget info for target " + TripleName);
719 failIfEmpty(MRI, "no register info for target " + TripleName);
724 failIfEmpty(AsmInfo, "no asm info for target " + TripleName);
730 failIfEmpty(DisAsm, "no disassembler info for target " + TripleName);
733 failIfEmpty(MII, "no instruction info for target " + TripleName);
737 failIfEmpty(MIA, "no instruction analysis info for target " + TripleName);
1090 "<module_name>.<pid>.sancov pattern: " +
1096 fail("Object file for coverage not found: " + FileName);
tools/yaml2obj/yaml2obj.cpp 56 ErrHandler("failed to open '" + OutputFilename + "': " + EC.message());
unittests/ADT/FoldingSet.cpp 31 std::string str2 = ">" + str1;
unittests/Analysis/ScalarEvolutionTest.cpp 1585 " %canonical.iv = phi " + ARBitWidthTypeStr +
1855 " %canonical.iv = phi " + ARBitWidthTypeStr +
unittests/BinaryFormat/MsgPackWriterTest.cpp 317 EXPECT_EQ(OStream.str(), "\xc5\x01\xff" + s);
unittests/DebugInfo/DWARF/DwarfGenerator.cpp 415 return make_error<StringError>("no asm info for target " + TripleName,
420 return make_error<StringError>("no subtarget info for target " + TripleName,
425 return make_error<StringError>("no asm backend for target " + TripleName,
430 return make_error<StringError>("no instr info info for target " +
437 return make_error<StringError>("no target machine for target " + TripleName,
446 return make_error<StringError>("no code emitter for target " + TripleName,
457 return make_error<StringError>("no object streamer for target " +
465 return make_error<StringError>("no asm printer for target " + TripleName,
unittests/Support/TarWriterTest.cpp 90 EXPECT_EQ("/" + x154, StringRef(Hdr1.Prefix));
107 EXPECT_EQ("/" + x154, StringRef(Hdr5.Prefix));
utils/TableGen/AsmMatcherEmitter.cpp 1306 CI->Name = "MCK_" + RC.getName();
1376 CI->Name = "MCK_" + CI->ClassName;
1385 CI->PredicateMethod = "is" + CI->ClassName;
1394 CI->RenderMethod = "add" + CI->ClassName + "Operands";
1424 CI->DefaultMethod = "default" + CI->ClassName + "Operands";
2104 Name += "_" + Op.Class->DefaultMethod;
2167 Signature += "__" + TiedTupleName;
2182 Signature += "__" + Ty;
2184 std::string Name = "CVT_" + Ty;
2215 Signature += "__" + Name;
2216 Name = "CVT_" + Name;
2582 Matches.emplace_back(CI.ValueName, "return " + CI.Name + ";");
2771 MatchCode += "if (" + FeatureMask + ")\n";
utils/TableGen/AsmWriterEmitter.cpp 241 UniqueOperandCommands[i] = " // " + Instrs + "\n" +
utils/TableGen/AsmWriterInst.cpp 31 return "O << '" + Str + "';";
32 return "O << \"" + Str + "\";";
45 Result += ", \"" + MiModifier + '"';
utils/TableGen/CodeEmitterGen.cpp 148 Case += " // op: " + VarName + "\n";
150 Case += " " + EncoderMethodName + "(MI, " + utostr(OpIdx);
153 Case += " op = " + EncoderMethodName + "(MI, " + utostr(OpIdx);
158 Case += " // op: " + VarName + "\n";
228 Case += " Value.insertBits(" + extractStr + ", " +
233 Case += " Value.insertBits(" + extractStr + ", " +
244 Case += " op &= " + maskStr + ";\n";
253 Case += " Value |= (op & " + maskStr + ") << " +
256 Case += " Value |= (op & " + maskStr + ") >> " +
259 Case += " Value |= (op & " + maskStr + ");\n";
utils/TableGen/CodeGenDAGPatterns.cpp 2393 TP.error("Intrinsic '" + Int->Name + "' expects " + Twine(NumParamVTs) +
3052 PrintFatalError("Error getting SDNode '" + Name + "'!");
3254 I.error("Input $" + Pat->getName() + " must be an identifier!");
3279 I.error("All $" + Pat->getName() + " inputs must agree with each other");
3284 I.error("All $" + Pat->getName() + " inputs must agree with each other");
3381 I.error("cannot set '" + Dest->getName() + "' multiple times");
3664 I.error("'" + OpName + "' set but does not appear in operand list!");
3672 I.error("Operand $" + OpName + " does not exist in operand list!");
3678 I.error("Operand $" + OpName + " should be a set destination: all "
3682 I.error("Operand $" + OpName + " class mismatch!");
3712 I.error("Operand $" + OpName +
3721 I.error("Operand $" + OpName + "'s register class disagrees"
3745 I.error("Input operand $" + InstInputs.begin()->first +
3850 PatternTop->error("repetition of value: $" + P->getName() +
3903 Pattern->error("Pattern has input without matching name in output: $" +
3912 Pattern->error("Pattern has dead named input: $" + Entry.first);
utils/TableGen/CodeGenDAGPatterns.h 1077 ? std::string("MF->getSubtarget().checkFeatures(\"" + Features + "\")")
1081 return IfCond ? C : "!("+C+')';
utils/TableGen/CodeGenInstruction.cpp 247 Rec->getLoc(), "Operand '" + Name + "' of '" + Rec->getName() +
258 Rec->getLoc(), "Unrecognized constraint '" + CStr +
274 Rec->getLoc(), "Illegal format for tied-to constraint: '" + CStr + "'");
290 Rec->getLoc(), "Input operands '" + LHSOpName + "' and '" + RHSOpName +
294 Rec->getLoc(), "Output operands '" + LHSOpName + "' and '" + RHSOpName +
utils/TableGen/CodeGenRegisters.cpp 282 PrintFatalError(TheDef->getLoc(), "SubRegIndex " + Idx->getName() +
664 "Register tuple definition missing name for '" +
utils/TableGen/CodeGenSchedule.cpp 810 "defined for processor " + ProcModel.ModelName +
1476 "Multiple variants defined for processor " +
1965 PrintError(Inst->TheDef->getLoc(), "'" + ProcModel.ModelName +
2147 "the ProcResources list for " + ModelName);
utils/TableGen/CodeGenTarget.cpp 622 "Intrinsic '" + DefName + "' does not start with 'int_'!");
644 PrintFatalError(DefLoc, "Intrinsic '" + DefName +
654 PrintFatalError(DefLoc, "Intrinsic '" + DefName +
704 PrintFatalError(DefLoc, "Intrinsic '" + DefName +
740 PrintFatalError(DefLoc, "Intrinsic '" + DefName +
utils/TableGen/DAGISelMatcherGen.cpp 480 WhatFor += "$" + Name;
utils/TableGen/FastISelEmitter.cpp 655 "name:" + Memo.Name + " predicate: " + PredicateCheck);
657 OS << " if (" + PredicateCheck + ") {\n";
utils/TableGen/GICombinerEmitter.cpp 449 PrintFatalError("Could not find " + Combiner);
utils/TableGen/GlobalISelEmitter.cpp 534 return MatchTableRecord(LabelID, "Label " + llvm::to_string(LabelID), 0,
540 return MatchTableRecord(LabelID, "Label " + llvm::to_string(LabelID), 1,
1472 << MatchTable::NamedValue("Intrinsic::" + II->EnumName)
1518 return "State.MIs[" + llvm::to_string(InsnVarID) + "]->getOperand(" +
2246 << MatchTable::Comment("MIs[" + llvm::to_string(NewInsnVarID) + "]")
2920 << MatchTable::Comment("RC " + RC.getName())
3950 return failedImport("SDNodeXForm " + Child->getName() +
4004 return failedImport("Dst pattern child isn't a leaf node or an MBB" + llvm::to_string(*DstChild));
4341 return failedImport("Expected " + llvm::to_string(DstINumUses) +
4619 return failedImport("Src pattern results and dst MI defs are different (" +
4680 return failedImport("Dst MI def isn't a register class" +
utils/TableGen/RISCVCompressInstEmitter.cpp 609 CaseStream.indent(6) << "break;\n } // case " + PrevOp + "\n";
610 CaseStream.indent(4) << "case " + Namespace + "::" + CurOp + ": {\n";
628 CondStream.indent(6) << ("!STI.getFeatureBits()[" + Namespace +
634 << ("STI.getFeatureBits()[" + Namespace + "::" + Op + "]").str() +
672 CodeStream.indent(6) << "// " + Dest.AsmString + "\n";
673 CodeStream.indent(6) << "OutInst.setOpcode(" + Namespace +
677 CodeStream.indent(6) << "// Operand: " + DestOperand.Name + "\n";
690 << "(MRI.getRegClass(" + Namespace +
724 CodeStream.indent(6) << "OutInst.addOperand(MCOperand::createReg(" +
736 Func.indent(4) << "} // case " + CurOp + "\n";
utils/TableGen/SearchableTableEmitter.cpp 119 return "Intrinsic::" + getIntrinsic(I).EnumName;
utils/TableGen/SubtargetEmitter.cpp 419 std::string StageTable = "\nextern const llvm::InstrStage " + Target +
424 std::string OperandCycleTable = "extern const unsigned " + Target +
429 std::string BypassTable = "extern const unsigned " + Target +
849 "defined for processor " + ProcModel.ModelName +
865 "SchedWrite and its alias on processor " +
901 "defined for processor " + ProcModel.ModelName +
917 "SchedRead and its alias on processor " +
utils/benchmark/src/commandlineflags.cc 88 return "BENCHMARK_" + env_var;
utils/benchmark/src/sysinfo.cc 227 Part = "0x" + Part;
utils/unittest/googlemock/src/gmock-matchers.cc 112 string result = "(" + fields[0];
133 return negation ? "not (" + result + ")" : result;
utils/unittest/googletest/include/gtest/gtest-printers.h 159 *os << ("<" + pretty_str + ">");
utils/unittest/googletest/src/gtest-death-test.cc 1215 "Unknown death test style \"" + GTEST_FLAG(death_test_style)
1330 + GTEST_FLAG(internal_run_death_test));