Home
last modified time | relevance | path

Searched refs:ErrorInfoBase (Results 1 – 25 of 69) sorted by relevance

123

/llvm-project-15.0.7/compiler-rt/lib/orc/
H A Derror.h24 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 DError.h46 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 DTerminalTest.cpp112 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 DLLGSTest.cpp65 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 DError.cpp55 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 DWithColor.cpp159 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 DError.cpp16 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 DDIPrinter.h28 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 DDWARFDieTest.cpp89 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 DLoggerTests.cpp22 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 DBitReader.cpp44 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 DLibDriver.cpp104 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 DIRReader.cpp40 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 DGDBRemoteCommunicationServer.cpp119 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 DGlobPatternTest.cpp121 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 DError.h26 handleAllErrors(std::move(Err), [&](ErrorInfoBase &Info) {
/llvm-project-15.0.7/llvm/tools/llvm-cvtres/
H A Dllvm-cvtres.cpp81 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 DInterpreter.cpp39 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in create()
/llvm-project-15.0.7/llvm/tools/llvm-opt-report/
H A DOptReport.cpp160 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 Dfunc-id-helper.cpp45 handleAllErrors(ResOrErr.takeError(), [&](const ErrorInfoBase &) { in SymbolOrNumber() argument
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DLLVMRemarkStreamer.h52 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EIB) { in LLVMRemarkSetupErrorInfo()
/llvm-project-15.0.7/llvm/unittests/Remarks/
H A DYAMLRemarksParsingTest.cpp62 [&](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 DDWARF.cpp21 [](ErrorInfoBase &info) { warn(info.message()); }); in DWARFCache()
/llvm-project-15.0.7/bolt/lib/Utils/
H A DUtils.cpp44 handleAllErrors(std::move(E), [&](const llvm::ErrorInfoBase &EIB) { in check_error()
/llvm-project-15.0.7/llvm/tools/llvm-remark-size-diff/
H A DRemarkSizeDiff.cpp348 handleAllErrors(std::move(E), [&](const ErrorInfoBase &PE) { in tryReadFileAndProcessRemarks()
498 handleAllErrors(std::move(E), [&](const ErrorInfoBase &PE) { in tryOutputAllDiffs()

123