| /llvm-project-15.0.7/compiler-rt/lib/orc/ |
| H A D | error.h | 24 class ErrorInfoBase : public RTTIExtends<ErrorInfoBase, RTTIRoot> { 35 friend Error repackage_error(std::unique_ptr<ErrorInfoBase>); 93 Error(std::unique_ptr<ErrorInfoBase> ErrInfo) { in Error() 106 template <typename ErrT = ErrorInfoBase> ErrT *getPtr() const { in getPtr() 110 void setPtr(ErrorInfoBase *Ptr) { in setPtr() 121 static_assert(std::is_base_of<ErrorInfoBase, ErrT>::value, in takePayload() 134 static_assert(std::is_base_of<ErrorInfoBase, ErrT>::value, in make_error() 160 static_assert(std::is_base_of<ErrorInfoBase, ErrT>::value, in error_cast() 193 using error_type = std::unique_ptr<ErrorInfoBase>; 383 (void)error_cast<ErrorInfoBase>(Err); in consumeError() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Error.h | 46 class ErrorInfoBase { 48 virtual ~ErrorInfoBase() = default; 268 ErrorInfoBase *getPtr() const { in getPtr() 270 return reinterpret_cast<ErrorInfoBase*>( in getPtr() 278 void setPtr(ErrorInfoBase *EI) { in setPtr() 280 Payload = reinterpret_cast<ErrorInfoBase*>( in setPtr() 299 Payload = reinterpret_cast<ErrorInfoBase*>( in setChecked() 306 std::unique_ptr<ErrorInfoBase> takePayload() { in takePayload() 321 ErrorInfoBase *Payload = nullptr; 1303 std::unique_ptr<ErrorInfoBase> Payload; in build() [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Host/posix/ |
| H A D | TerminalTest.cpp | 112 llvm::Failed<llvm::ErrorInfoBase>(testing::Property( in TEST_F() 113 &llvm::ErrorInfoBase::message, in TEST_F() 130 llvm::Failed<llvm::ErrorInfoBase>(testing::Property( in TEST_F() 131 &llvm::ErrorInfoBase::message, in TEST_F() 134 llvm::Failed<llvm::ErrorInfoBase>(testing::Property( in TEST_F() 135 &llvm::ErrorInfoBase::message, in TEST_F() 183 llvm::Failed<llvm::ErrorInfoBase>(testing::Property( in TEST_F() 184 &llvm::ErrorInfoBase::message, in TEST_F() 188 &llvm::ErrorInfoBase::message, in TEST_F() 237 llvm::Failed<llvm::ErrorInfoBase>(testing::Property( in TEST_F() [all …]
|
| /llvm-project-15.0.7/lldb/unittests/tools/lldb-server/tests/ |
| H A D | LLGSTest.cpp | 65 Failed<ErrorInfoBase>(testing::Property( in TEST_F() 66 &ErrorInfoBase::message, "Error 255"))); in TEST_F() 73 Failed<ErrorInfoBase>(testing::Property( in TEST_F() 74 &ErrorInfoBase::message, in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | Error.cpp | 55 void ErrorInfoBase::anchor() {} in anchor() 56 char ErrorInfoBase::ID = 0; 67 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EI) { in logAllUnhandledErrors() 100 handleAllErrors(std::move(Err), [&](const ErrorInfoBase &EI) { in errorToErrorCode() 158 return reinterpret_cast<ErrorInfoBase *>(Err)->dynamicClassID(); in LLVMGetErrorTypeId()
|
| H A D | WithColor.cpp | 159 handleAllErrors(std::move(Err), [](ErrorInfoBase &Info) { in defaultErrorHandler() 165 handleAllErrors(std::move(Warning), [](ErrorInfoBase &Info) { in defaultWarningHandler()
|
| /llvm-project-15.0.7/llvm/lib/Testing/Support/ |
| H A D | Error.cpp | 16 std::vector<std::shared_ptr<ErrorInfoBase>> Infos; in TakeError() 18 [&Infos](std::unique_ptr<ErrorInfoBase> Info) { in TakeError()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/Symbolize/ |
| H A D | DIPrinter.h | 28 class ErrorInfoBase; variable 55 const ErrorInfoBase &ErrorInfo, 100 bool printError(const Request &Request, const ErrorInfoBase &ErrorInfo, 151 bool printError(const Request &Request, const ErrorInfoBase &ErrorInfo,
|
| /llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/ |
| H A D | DWARFDieTest.cpp | 89 Failed<ErrorInfoBase>(testing::Property( in TEST() 90 &ErrorInfoBase::message, in TEST() 100 Failed<ErrorInfoBase>(testing::Property(&ErrorInfoBase::message, in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | LoggerTests.cpp | 22 handleAllErrors(error("foo"), [&](const llvm::ErrorInfoBase &EI) { in TEST() 27 handleAllErrors(error("foo {0}", 42), [&](const llvm::ErrorInfoBase &EI) { in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Reader/ |
| H A D | BitReader.cpp | 44 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in LLVMParseBitcodeInContext() 90 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in LLVMGetBitcodeModuleInContext()
|
| /llvm-project-15.0.7/llvm/lib/ToolDrivers/llvm-lib/ |
| H A D | LibDriver.cpp | 104 handleAllErrors(std::move(E), [&](const llvm::ErrorInfoBase &EIB) { in fatalOpenError() 206 handleAllErrors(ChildMB.takeError(), [&](const ErrorInfoBase &EIB) { in appendFile() 233 [&](const ErrorInfoBase &EIB) { in appendFile() 396 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EI) { in libDriverMain()
|
| /llvm-project-15.0.7/llvm/lib/IRReader/ |
| H A D | IRReader.cpp | 40 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in getLazyIRModule() 79 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in parseIR()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationServer.cpp | 119 std::unique_ptr<llvm::ErrorInfoBase> EIB; in SendErrorResponse() 124 [&](std::unique_ptr<llvm::ErrorInfoBase> E) { EIB = std::move(E); }); in SendErrorResponse()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | GlobPatternTest.cpp | 121 handleAllErrors(Pat1.takeError(), [&](ErrorInfoBase &EIB) {}); in TEST_F() 125 handleAllErrors(Pat2.takeError(), [&](ErrorInfoBase &EIB) {}); in TEST_F()
|
| /llvm-project-15.0.7/llvm/tools/llvm-dwarfutil/ |
| H A D | Error.h | 26 handleAllErrors(std::move(Err), [&](ErrorInfoBase &Info) {
|
| /llvm-project-15.0.7/llvm/tools/llvm-cvtres/ |
| H A D | llvm-cvtres.cpp | 81 handleAllErrors(std::move(EC), [&](const ErrorInfoBase &EI) { in error() 90 [&](const ErrorInfoBase &EI) { reportError(EI.message()); }); in error()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Interpreter.cpp | 39 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in create()
|
| /llvm-project-15.0.7/llvm/tools/llvm-opt-report/ |
| H A D | OptReport.cpp | 160 handleAllErrors(Format.takeError(), [&](const ErrorInfoBase &PE) { in readLocationInfo() 170 handleAllErrors(MaybeParser.takeError(), [&](const ErrorInfoBase &PE) { in readLocationInfo() 187 handleAllErrors(std::move(E), [&](const ErrorInfoBase &PE) { in readLocationInfo()
|
| /llvm-project-15.0.7/llvm/tools/llvm-xray/ |
| H A D | func-id-helper.cpp | 45 handleAllErrors(ResOrErr.takeError(), [&](const ErrorInfoBase &) { in SymbolOrNumber() argument
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | LLVMRemarkStreamer.h | 52 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EIB) { in LLVMRemarkSetupErrorInfo()
|
| /llvm-project-15.0.7/llvm/unittests/Remarks/ |
| H A D | YAMLRemarksParsingTest.cpp | 62 [&](const ErrorInfoBase &EIB) { EIB.log(Stream); }); in parseExpectError() 81 [&](const ErrorInfoBase &EIB) { EIB.log(Stream); }); in parseExpectErrorMeta() 661 [&](const ErrorInfoBase &EIB) { EIB.log(Stream); }); in TEST()
|
| /llvm-project-15.0.7/lld/Common/ |
| H A D | DWARF.cpp | 21 [](ErrorInfoBase &info) { warn(info.message()); }); in DWARFCache()
|
| /llvm-project-15.0.7/bolt/lib/Utils/ |
| H A D | Utils.cpp | 44 handleAllErrors(std::move(E), [&](const llvm::ErrorInfoBase &EIB) { in check_error()
|
| /llvm-project-15.0.7/llvm/tools/llvm-remark-size-diff/ |
| H A D | RemarkSizeDiff.cpp | 348 handleAllErrors(std::move(E), [&](const ErrorInfoBase &PE) { in tryReadFileAndProcessRemarks() 498 handleAllErrors(std::move(E), [&](const ErrorInfoBase &PE) { in tryOutputAllDiffs()
|