/freebsd-13-stable/contrib/llvm-project/llvm/lib/TextAPI/MachO/ |
H A D | TextAPIContext.h | 24 std::string ErrorMessage; member in struct:llvm::MachO::TextAPIContext
|
H A D | TextStub.cpp | 1105 File->ErrorMessage = ("malformed file\n" + Message).str(); 1128 return make_error<StringError>(Ctx.ErrorMessage, YAMLIn.error());
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/ |
H A D | CompilationDatabasePluginRegistry.h | 36 loadFromDirectory(StringRef Directory, std::string &ErrorMessage) = 0;
|
H A D | JSONCompilationDatabase.h | 65 /// Returns NULL and sets ErrorMessage if the database could not be 68 loadFromFile(StringRef FilePath, std::string &ErrorMessage, 73 /// Returns NULL and sets ErrorMessage if the database could not be loaded. 75 loadFromBuffer(StringRef DatabaseString, std::string &ErrorMessage, 104 /// Returns whether parsing succeeded. Sets ErrorMessage if parsing 106 bool parse(std::string &ErrorMessage);
|
H A D | CompilationDatabase.h | 97 /// Returns NULL and sets ErrorMessage if we were not able to build up a 104 loadFromDirectory(StringRef BuildDirectory, std::string &ErrorMessage); 111 autoDetectFromSource(StringRef SourceFile, std::string &ErrorMessage); 118 autoDetectFromDirectory(StringRef SourceDir, std::string &ErrorMessage); 188 /// Returns nullptr and sets ErrorMessage if we can't read the file.
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/ |
H A D | CommonOptionsParser.cpp | 109 std::string ErrorMessage; local 111 FixedCompilationDatabase::loadFromCommandLine(argc, argv, ErrorMessage); 112 if (!ErrorMessage.empty()) 113 ErrorMessage.append("\n"); 114 llvm::raw_string_ostream OS(ErrorMessage); 119 ErrorMessage, 132 CompilationDatabase::autoDetectFromDirectory(BuildPath, ErrorMessage); 135 ErrorMessage); 139 << ErrorMessage << "Running without flags.\n";
|
H A D | JSONCompilationDatabase.cpp | 166 loadFromDirectory(StringRef Directory, std::string &ErrorMessage) override { 170 JSONDatabasePath, ErrorMessage, JSONCommandLineSyntax::AutoDetect); 197 std::string &ErrorMessage, 205 ErrorMessage = "Error while opening JSON database: " + Result.message(); 210 if (!Database->parse(ErrorMessage)) 217 std::string &ErrorMessage, 223 if (!Database->parse(ErrorMessage)) 331 bool JSONCompilationDatabase::parse(std::string &ErrorMessage) { argument 334 ErrorMessage = "Error while parsing YAML."; 339 ErrorMessage 196 loadFromFile(StringRef FilePath, std::string &ErrorMessage, JSONCommandLineSyntax Syntax) argument 216 loadFromBuffer(StringRef DatabaseString, std::string &ErrorMessage, JSONCommandLineSyntax Syntax) argument [all...] |
H A D | CompilationDatabase.cpp | 12 // FIXME: Various functions that take a string &ErrorMessage should be upgraded 65 std::string &ErrorMessage) { 66 llvm::raw_string_ostream ErrorStream(ErrorMessage); 81 std::string &ErrorMessage) { 99 ErrorMessage = ErrorStream.str(); 105 std::string &ErrorMessage) { 110 findCompilationDatabaseFromDirectory(Directory, ErrorMessage); 113 ErrorMessage = ("Could not auto-detect compilation database for file \"" + 114 SourceFile + "\"\n" + ErrorMessage).str(); 120 std::string &ErrorMessage) { 64 loadFromDirectory(StringRef BuildDirectory, std::string &ErrorMessage) argument 80 findCompilationDatabaseFromDirectory(StringRef Directory, std::string &ErrorMessage) argument 104 autoDetectFromSource(StringRef SourceFile, std::string &ErrorMessage) argument 119 autoDetectFromDirectory(StringRef SourceDir, std::string &ErrorMessage) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ |
H A D | TargetMachineC.cpp | 67 char **ErrorMessage) { 73 if (ErrorMessage) 74 *ErrorMessage = strdup(Error.c_str()); 188 char **ErrorMessage) { 209 *ErrorMessage = strdup(error.c_str()); 220 char* Filename, LLVMCodeGenFileType codegen, char** ErrorMessage) { 224 *ErrorMessage = strdup(EC.message().c_str()); 227 bool Result = LLVMTargetMachineEmit(T, M, dest, codegen, ErrorMessage); 233 LLVMModuleRef M, LLVMCodeGenFileType codegen, char** ErrorMessage, 237 bool Result = LLVMTargetMachineEmit(T, M, OStream, codegen, ErrorMessage); 66 LLVMGetTargetFromTriple(const char* TripleStr, LLVMTargetRef *T, char **ErrorMessage) argument 185 LLVMTargetMachineEmit(LLVMTargetMachineRef T, LLVMModuleRef M, raw_pwrite_stream &OS, LLVMCodeGenFileType codegen, char **ErrorMessage) argument 219 LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M, char* Filename, LLVMCodeGenFileType codegen, char** ErrorMessage) argument 232 LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T, LLVMModuleRef M, LLVMCodeGenFileType codegen, char** ErrorMessage, LLVMMemoryBufferRef *OutMemBuf) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | TargetMachine.h | 74 Returns 0 on success. Optionally returns any error in ErrorMessage. 77 char **ErrorMessage); 131 error in ErrorMessage. Use LLVMDisposeMessage to dispose the message. */ 133 char *Filename, LLVMCodeGenFileType codegen, char **ErrorMessage); 137 LLVMCodeGenFileType codegen, char** ErrorMessage, LLVMMemoryBufferRef *OutMemBuf);
|
H A D | Object.h | 68 * If NULL is returned, the \p ErrorMessage parameter is populated with the 76 char **ErrorMessage); 108 * If NULL is returned, the \p ErrorMessage parameter is populated with the 118 char **ErrorMessage);
|
H A D | Core.h | 814 * Print a representation of a module to a file. The ErrorMessage needs to be 820 char **ErrorMessage);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/ |
H A D | Object.cpp | 66 char **ErrorMessage) { 71 *ErrorMessage = strdup(toString(ObjOrErr.takeError()).c_str()); 138 char **ErrorMessage) { 143 *ErrorMessage = strdup(toString(ObjOrErr.takeError()).c_str()); 64 LLVMCreateBinary(LLVMMemoryBufferRef MemBuf, LLVMContextRef Context, char **ErrorMessage) argument 135 LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, const char *Arch, size_t ArchLen, char **ErrorMessage) argument
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CStringChecker.cpp | 53 using ErrorMessage = SmallString<128>; 56 static ErrorMessage createOutOfBoundErrorMsg(StringRef FunctionDescription, 58 ErrorMessage Message; 364 ErrorMessage Message =
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | llvm-objdump.cpp | 1012 std::string ErrorMessage; 1014 ErrorMessage = toString(ExpectedLineInfo.takeError()); 1022 if (!ErrorMessage.empty()) 1023 Warning += ": " + ErrorMessage;
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | CompilerInvocation.cpp | 1800 std::string ErrorMessage = local 1806 << ErrorMessage; 1808 std::string ErrorMessage = local 1813 << ErrorMessage;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Core.cpp | 393 char **ErrorMessage) { 397 *ErrorMessage = strdup(EC.message().c_str()); 407 *ErrorMessage = strdup(E.c_str()); 392 LLVMPrintModuleToFile(LLVMModuleRef M, const char *Filename, char **ErrorMessage) argument
|