Home
last modified time | relevance | path

Searched refs:ErrorMessage (Results 1 – 21 of 21) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/
H A DJSONCompilationDatabase.cpp210 if (!Database->parse(ErrorMessage)) in loadFromFile()
223 if (!Database->parse(ErrorMessage)) in loadFromBuffer()
335 ErrorMessage = "Error while parsing YAML."; in parse()
340 ErrorMessage = "Error while parsing YAML."; in parse()
345 ErrorMessage = "Expected array."; in parse()
351 ErrorMessage = "Expected object."; in parse()
361 ErrorMessage = "Expected strings as key."; in parse()
368 ErrorMessage = "Expected value."; in parse()
402 ErrorMessage = in parse()
409 ErrorMessage = "Missing key: \"file\"."; in parse()
[all …]
H A DCommonOptionsParser.cpp109 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()
H A DCompilationDatabase.cpp65 std::string &ErrorMessage) { in loadFromDirectory() argument
66 llvm::raw_string_ostream ErrorStream(ErrorMessage); in loadFromDirectory()
81 std::string &ErrorMessage) { in findCompilationDatabaseFromDirectory() argument
99 ErrorMessage = ErrorStream.str(); in findCompilationDatabaseFromDirectory()
105 std::string &ErrorMessage) { in autoDetectFromSource() argument
110 findCompilationDatabaseFromDirectory(Directory, ErrorMessage); in autoDetectFromSource()
113 ErrorMessage = ("Could not auto-detect compilation database for file \"" + in autoDetectFromSource()
114 SourceFile + "\"\n" + ErrorMessage).str(); in autoDetectFromSource()
120 std::string &ErrorMessage) { in autoDetectFromDirectory() argument
124 findCompilationDatabaseFromDirectory(AbsolutePath, ErrorMessage); in autoDetectFromDirectory()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/
H A DTargetMachineC.cpp67 char **ErrorMessage) { in LLVMGetTargetFromTriple() argument
73 if (ErrorMessage) in LLVMGetTargetFromTriple()
74 *ErrorMessage = strdup(Error.c_str()); in LLVMGetTargetFromTriple()
188 char **ErrorMessage) { in LLVMTargetMachineEmit() argument
209 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmit()
220 char* Filename, LLVMCodeGenFileType codegen, char** ErrorMessage) { in LLVMTargetMachineEmitToFile() argument
224 *ErrorMessage = strdup(EC.message().c_str()); in LLVMTargetMachineEmitToFile()
227 bool Result = LLVMTargetMachineEmit(T, M, dest, codegen, ErrorMessage); in LLVMTargetMachineEmitToFile()
233 LLVMModuleRef M, LLVMCodeGenFileType codegen, char** ErrorMessage, in LLVMTargetMachineEmitToMemoryBuffer() argument
237 bool Result = LLVMTargetMachineEmit(T, M, OStream, codegen, ErrorMessage); in LLVMTargetMachineEmitToMemoryBuffer()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/
H A DJSONCompilationDatabase.h68 loadFromFile(StringRef FilePath, std::string &ErrorMessage,
75 loadFromBuffer(StringRef DatabaseString, std::string &ErrorMessage,
106 bool parse(std::string &ErrorMessage);
H A DCompilationDatabase.h104 loadFromDirectory(StringRef BuildDirectory, std::string &ErrorMessage);
111 autoDetectFromSource(StringRef SourceFile, std::string &ErrorMessage);
118 autoDetectFromDirectory(StringRef SourceDir, std::string &ErrorMessage);
H A DCompilationDatabasePluginRegistry.h36 loadFromDirectory(StringRef Directory, std::string &ErrorMessage) = 0;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/
H A DTargetMachine.h77 char **ErrorMessage);
133 char *Filename, LLVMCodeGenFileType codegen, char **ErrorMessage);
137 LLVMCodeGenFileType codegen, char** ErrorMessage, LLVMMemoryBufferRef *OutMemBuf);
H A DObject.h76 char **ErrorMessage);
118 char **ErrorMessage);
H A DCore.h839 char **ErrorMessage);
/freebsd-13.1/contrib/googletest/
H A Dappveyor.yml73 throw "Exec: $ErrorMessage"
78 throw "Exec: $ErrorMessage"
97 throw "Exec: $ErrorMessage"
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DObject.cpp66 char **ErrorMessage) { in LLVMCreateBinary() argument
71 *ErrorMessage = strdup(toString(ObjOrErr.takeError()).c_str()); in LLVMCreateBinary()
138 char **ErrorMessage) { in LLVMMachOUniversalBinaryCopyObjectForArch() argument
143 *ErrorMessage = strdup(toString(ObjOrErr.takeError()).c_str()); in LLVMMachOUniversalBinaryCopyObjectForArch()
/freebsd-13.1/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DAMDGPU.cpp755 std::string ErrorMessage; in detectSystemGPUs() local
758 /*MemoryLimit*/ 0, &ErrorMessage)) { in detectSystemGPUs()
760 ErrorMessage = "Exited with error code " + std::to_string(Result); in detectSystemGPUs()
762 ErrorMessage = "Execute failed: " + ErrorMessage; in detectSystemGPUs()
764 ErrorMessage = "Crashed: " + ErrorMessage; in detectSystemGPUs()
768 Program + ": " + ErrorMessage); in detectSystemGPUs()
/freebsd-13.1/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextAPIContext.h24 std::string ErrorMessage; member
H A DTextStub.cpp1106 File->ErrorMessage = ("malformed file\n" + Message).str(); in DiagHandler()
1129 return make_error<StringError>(Ctx.ErrorMessage, YAMLIn.error()); in get()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DJSON.cpp212 R->ErrorMessage = Msg; in report()
222 OS << (ErrorMessage.empty() ? "invalid JSON contents" : ErrorMessage); in getError()
316 Comment.append(ErrorMessage.data(), ErrorMessage.size()); in printErrorContext()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DJSON.h619 llvm::StringLiteral ErrorMessage; variable
625 Root(llvm::StringRef Name = "") : Name(Name), ErrorMessage("") {} in Name()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp375 std::string ErrorMessage; in printSourceLine() local
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCStringChecker.cpp53 using ErrorMessage = SmallString<128>; typedef
56 static ErrorMessage createOutOfBoundErrorMsg(StringRef FunctionDescription, in createOutOfBoundErrorMsg()
58 ErrorMessage Message; in createOutOfBoundErrorMsg()
364 ErrorMessage Message = in CheckLocation()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp2628 std::string ErrorMessage = in ParseFrontendArgs() local
2634 << ErrorMessage; in ParseFrontendArgs()
2637 std::string ErrorMessage = in ParseFrontendArgs() local
2642 << ErrorMessage; in ParseFrontendArgs()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp413 char **ErrorMessage) { in LLVMPrintModuleToFile() argument
417 *ErrorMessage = strdup(EC.message().c_str()); in LLVMPrintModuleToFile()
427 *ErrorMessage = strdup(E.c_str()); in LLVMPrintModuleToFile()