/freebsd/contrib/llvm-project/clang/lib/Tooling/ |
H A D | JSONCompilationDatabase.cpp | 163 loadFromDirectory(StringRef Directory, std::string &ErrorMessage) override { in loadFromDirectory() argument 167 JSONDatabasePath, ErrorMessage, JSONCommandLineSyntax::AutoDetect); in loadFromDirectory() 194 std::string &ErrorMessage, in loadFromFile() argument 202 ErrorMessage = "Error while opening JSON database: " + Result.message(); in loadFromFile() 207 if (!Database->parse(ErrorMessage)) in loadFromFile() 214 std::string &ErrorMessage, in loadFromBuffer() argument 220 if (!Database->parse(ErrorMessage)) in loadFromBuffer() 328 bool JSONCompilationDatabase::parse(std::string &ErrorMessage) { in parse() argument 331 ErrorMessage = "Error while parsing YAML."; in parse() 336 ErrorMessage = "Error while parsing YAML."; in parse() [all …]
|
H A D | CommonOptionsParser.cpp | 109 std::string ErrorMessage; in init() local 111 FixedCompilationDatabase::loadFromCommandLine(argc, argv, ErrorMessage); in init() 112 if (!ErrorMessage.empty()) in init() 113 ErrorMessage.append("\n"); in init() 114 llvm::raw_string_ostream OS(ErrorMessage); in init() 118 return llvm::make_error<llvm::StringError>(ErrorMessage, in init() 131 CompilationDatabase::autoDetectFromDirectory(BuildPath, ErrorMessage); in init() 134 ErrorMessage); in init() 138 << ErrorMessage << "Running without flags.\n"; in init()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ |
H A D | TargetMachineC.cpp | 83 char **ErrorMessage) { in LLVMGetTargetFromTriple() argument 89 if (ErrorMessage) in LLVMGetTargetFromTriple() 90 *ErrorMessage = strdup(Error.c_str()); in LLVMGetTargetFromTriple() 293 char **ErrorMessage) { in LLVMTargetMachineEmit() argument 314 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmit() 327 char **ErrorMessage) { in LLVMTargetMachineEmitToFile() argument 331 *ErrorMessage = strdup(EC.message().c_str()); in LLVMTargetMachineEmitToFile() 334 bool Result = LLVMTargetMachineEmit(T, M, dest, codegen, ErrorMessage); in LLVMTargetMachineEmitToFile() 340 LLVMModuleRef M, LLVMCodeGenFileType codegen, char** ErrorMessage, in LLVMTargetMachineEmitToMemoryBuffer() argument 344 bool Result = LLVMTargetMachineEmit(T, M, OStream, codegen, ErrorMessage); in LLVMTargetMachineEmitToMemoryBuffer()
|
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/ |
H A D | JSONCompilationDatabase.h | 68 loadFromFile(StringRef FilePath, std::string &ErrorMessage, 75 loadFromBuffer(StringRef DatabaseString, std::string &ErrorMessage, 106 bool parse(std::string &ErrorMessage);
|
H A D | CompilationDatabase.h | 104 loadFromDirectory(StringRef BuildDirectory, std::string &ErrorMessage); 111 autoDetectFromSource(StringRef SourceFile, std::string &ErrorMessage); 118 autoDetectFromDirectory(StringRef SourceDir, std::string &ErrorMessage);
|
H A D | CompilationDatabasePluginRegistry.h | 36 loadFromDirectory(StringRef Directory, std::string &ErrorMessage) = 0;
|
/freebsd/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | TargetMachine.h | 87 Returns 0 on success. Optionally returns any error in ErrorMessage. 90 char **ErrorMessage); 208 error in ErrorMessage. Use LLVMDisposeMessage to dispose the message. */ 212 char **ErrorMessage); 216 LLVMCodeGenFileType codegen, char** ErrorMessage, LLVMMemoryBufferRef *OutMemBuf);
|
H A D | Object.h | 78 char **ErrorMessage); 120 char **ErrorMessage);
|
H A D | Core.h | 942 char **ErrorMessage);
|
/freebsd/contrib/llvm-project/llvm/lib/Debuginfod/ |
H A D | HTTPServer.cpp | 114 std::string ErrorMessage; in get() local 115 if (!Regex(UrlPathPattern).isValid(ErrorMessage)) in get() 116 return createStringError(errc::argument_out_of_domain, ErrorMessage); in get()
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | Object.cpp | 67 char **ErrorMessage) { in LLVMCreateBinary() argument 72 *ErrorMessage = strdup(toString(ObjOrErr.takeError()).c_str()); in LLVMCreateBinary() 141 char **ErrorMessage) { in LLVMMachOUniversalBinaryCopyObjectForArch() argument 146 *ErrorMessage = strdup(toString(ObjOrErr.takeError()).c_str()); in LLVMMachOUniversalBinaryCopyObjectForArch()
|
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/ |
H A D | TextAPIContext.h | 23 std::string ErrorMessage; member
|
H A D | TextStub.cpp | 1071 File->ErrorMessage = ("malformed file\n" + Message).str(); in DiagHandler() 1132 return make_error<StringError>(Ctx.ErrorMessage, YAMLIn.error()); in get()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | JSON.cpp | 219 R->ErrorMessage = Msg; in report() 229 OS << (ErrorMessage.empty() ? "invalid JSON contents" : ErrorMessage); in getError() 319 Comment.append(ErrorMessage.data(), ErrorMessage.size()); in printErrorContext()
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | MemProfReader.cpp | 278 std::string ErrorMessage( in create() local 282 ErrorMessage += "\n BuildId: "; in create() 283 ErrorMessage += Id; in create() 286 make_error<StringError>(ErrorMessage, inconvertibleErrorCode()), in create()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | JSON.h | 704 llvm::StringLiteral ErrorMessage; variable 710 Root(llvm::StringRef Name = "") : Name(Name), ErrorMessage("") {} in Name()
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ |
H A D | ToolChain.cpp | 118 std::string ErrorMessage; in executeToolChainProgram() local 120 /*MemoryLimit=*/0, &ErrorMessage)) in executeToolChainProgram() 122 Executable + ": " + ErrorMessage); in executeToolChainProgram()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | SourcePrinter.cpp | 383 std::string ErrorMessage; in printSourceLine() local
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CStringChecker.cpp | 50 using ErrorMessage = SmallString<128>; typedef 53 static ErrorMessage createOutOfBoundErrorMsg(StringRef FunctionDescription, in createOutOfBoundErrorMsg() 55 ErrorMessage Message; in createOutOfBoundErrorMsg() 586 ErrorMessage Message = in CheckLocation()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | CompilerInvocation.cpp | 2892 std::string ErrorMessage = in ParseFrontendArgs() local 2898 << ErrorMessage; in ParseFrontendArgs() 2901 std::string ErrorMessage = in ParseFrontendArgs() local 2906 << ErrorMessage; in ParseFrontendArgs()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Core.cpp | 443 char **ErrorMessage) { in LLVMPrintModuleToFile() argument 447 *ErrorMessage = strdup(EC.message().c_str()); in LLVMPrintModuleToFile() 457 *ErrorMessage = strdup(E.c_str()); in LLVMPrintModuleToFile()
|