Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/
H A DJSONCompilationDatabase.cpp202 if (!Database->parse(ErrorMessage)) in loadFromFile()
215 if (!Database->parse(ErrorMessage)) in loadFromBuffer()
284 ErrorMessage = "Error while parsing YAML."; in parse()
289 ErrorMessage = "Error while parsing YAML."; in parse()
294 ErrorMessage = "Expected array."; in parse()
300 ErrorMessage = "Expected object."; in parse()
310 ErrorMessage = "Expected strings as key."; in parse()
317 ErrorMessage = "Expected value."; in parse()
326 ErrorMessage = "Expected string as value."; in parse()
349 ErrorMessage = ("Unknown key: \"" + in parse()
[all …]
H A DCompilationDatabase.cpp66 std::string &ErrorMessage) { in loadFromDirectory() argument
67 llvm::raw_string_ostream ErrorStream(ErrorMessage); in loadFromDirectory()
84 std::string &ErrorMessage) { in findCompilationDatabaseFromDirectory() argument
102 ErrorMessage = ErrorStream.str(); in findCompilationDatabaseFromDirectory()
108 std::string &ErrorMessage) { in autoDetectFromSource() argument
113 findCompilationDatabaseFromDirectory(Directory, ErrorMessage); in autoDetectFromSource()
116 ErrorMessage = ("Could not auto-detect compilation database for file \"" + in autoDetectFromSource()
117 SourceFile + "\"\n" + ErrorMessage).str(); in autoDetectFromSource()
123 std::string &ErrorMessage) { in autoDetectFromDirectory() argument
127 findCompilationDatabaseFromDirectory(AbsolutePath, ErrorMessage); in autoDetectFromDirectory()
[all …]
H A DCommonOptionsParser.cpp112 std::string ErrorMessage; in init() local
114 FixedCompilationDatabase::loadFromCommandLine(argc, argv, ErrorMessage); in init()
115 if (!ErrorMessage.empty()) in init()
116 ErrorMessage.append("\n"); in init()
117 llvm::raw_string_ostream OS(ErrorMessage); in init()
122 ErrorMessage, in init()
135 CompilationDatabase::autoDetectFromDirectory(BuildPath, ErrorMessage); in init()
138 ErrorMessage); in init()
142 << ErrorMessage << "Running without flags.\n"; in init()
/freebsd-12.1/contrib/llvm/lib/Target/
H A DTargetMachineC.cpp68 char **ErrorMessage) { in LLVMGetTargetFromTriple() argument
74 if (ErrorMessage) in LLVMGetTargetFromTriple()
75 *ErrorMessage = strdup(Error.c_str()); in LLVMGetTargetFromTriple()
189 char **ErrorMessage) { in LLVMTargetMachineEmit() argument
210 *ErrorMessage = strdup(error.c_str()); in LLVMTargetMachineEmit()
221 char* Filename, LLVMCodeGenFileType codegen, char** ErrorMessage) { in LLVMTargetMachineEmitToFile() argument
225 *ErrorMessage = strdup(EC.message().c_str()); in LLVMTargetMachineEmitToFile()
228 bool Result = LLVMTargetMachineEmit(T, M, dest, codegen, ErrorMessage); in LLVMTargetMachineEmitToFile()
234 LLVMModuleRef M, LLVMCodeGenFileType codegen, char** ErrorMessage, in LLVMTargetMachineEmitToMemoryBuffer() argument
238 bool Result = LLVMTargetMachineEmit(T, M, OStream, codegen, ErrorMessage); in LLVMTargetMachineEmitToMemoryBuffer()
/freebsd-12.1/contrib/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 DCore.h813 char **ErrorMessage);
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/
H A DJSONCompilationDatabase.h69 loadFromFile(StringRef FilePath, std::string &ErrorMessage,
76 loadFromBuffer(StringRef DatabaseString, std::string &ErrorMessage,
107 bool parse(std::string &ErrorMessage);
H A DCompilationDatabase.h98 loadFromDirectory(StringRef BuildDirectory, std::string &ErrorMessage);
105 autoDetectFromSource(StringRef SourceFile, std::string &ErrorMessage);
112 autoDetectFromDirectory(StringRef SourceDir, std::string &ErrorMessage);
H A DCompilationDatabasePluginRegistry.h37 loadFromDirectory(StringRef Directory, std::string &ErrorMessage) = 0;
/freebsd-12.1/contrib/googletest/
H A Dappveyor.yml73 throw "Exec: $ErrorMessage"
78 throw "Exec: $ErrorMessage"
97 throw "Exec: $ErrorMessage"
/freebsd-12.1/contrib/llvm/lib/IR/
H A DCore.cpp388 char **ErrorMessage) { in LLVMPrintModuleToFile() argument
392 *ErrorMessage = strdup(EC.message().c_str()); in LLVMPrintModuleToFile()
402 *ErrorMessage = strdup(E.c_str()); in LLVMPrintModuleToFile()