Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/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()
118 template <typename ErrT = ErrorInfoBase> std::unique_ptr<ErrT> takePayload() { in takePayload()
119 static_assert(std::is_base_of<ErrorInfoBase, ErrT>::value, in takePayload()
132 static_assert(std::is_base_of<ErrorInfoBase, ErrT>::value, in make_error()
140 inline Error repackage_error(std::unique_ptr<ErrorInfoBase> EIB) { in repackage_error()
158 static_assert(std::is_base_of<ErrorInfoBase, ErrT>::value, in error_cast()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DError.h47 class ErrorInfoBase {
49 virtual ~ErrorInfoBase() = default;
197 Error(std::unique_ptr<ErrorInfoBase> Payload) { in Error()
269 ErrorInfoBase *getPtr() const { in getPtr()
271 return reinterpret_cast<ErrorInfoBase*>( in getPtr()
279 void setPtr(ErrorInfoBase *EI) { in setPtr()
281 Payload = reinterpret_cast<ErrorInfoBase*>( in setPtr()
300 Payload = reinterpret_cast<ErrorInfoBase*>( in setChecked()
307 std::unique_ptr<ErrorInfoBase> takePayload() { in takePayload()
308 std::unique_ptr<ErrorInfoBase> Tmp(getPtr()); in takePayload()
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/Symbolize/
H A DDIPrinter.h27 class ErrorInfoBase; variable
54 const ErrorInfoBase &ErrorInfo,
99 bool printError(const Request &Request, const ErrorInfoBase &ErrorInfo,
150 bool printError(const Request &Request, const ErrorInfoBase &ErrorInfo,
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp107 handleAllErrors(std::move(E), [&](const llvm::ErrorInfoBase &EIB) { in fatalOpenError()
209 handleAllErrors(ChildMB.takeError(), [&](const ErrorInfoBase &EIB) { in appendFile()
236 [&](const ErrorInfoBase &EIB) { in appendFile()
399 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EI) { in libDriverMain()
/openbsd-src/gnu/llvm/llvm/lib/IRReader/
H A DIRReader.cpp41 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in getLazyIRModule()
80 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in parseIR()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServer.cpp118 std::unique_ptr<llvm::ErrorInfoBase> EIB; in SendErrorResponse()
123 [&](std::unique_ptr<llvm::ErrorInfoBase> E) { EIB = std::move(E); }); in SendErrorResponse()
/openbsd-src/gnu/llvm/llvm/tools/llvm-dwarfutil/
H A DError.h26 handleAllErrors(std::move(Err), [&](ErrorInfoBase &Info) {
/openbsd-src/gnu/llvm/llvm/tools/llvm-cvtres/
H A Dllvm-cvtres.cpp84 handleAllErrors(std::move(EC), [&](const ErrorInfoBase &EI) { in error()
93 [&](const ErrorInfoBase &EI) { reportError(EI.message()); }); in error()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.cpp39 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in create()
/openbsd-src/gnu/llvm/llvm/tools/llvm-opt-report/
H A DOptReport.cpp161 handleAllErrors(Format.takeError(), [&](const ErrorInfoBase &PE) { in readLocationInfo()
171 handleAllErrors(MaybeParser.takeError(), [&](const ErrorInfoBase &PE) { in readLocationInfo()
188 handleAllErrors(std::move(E), [&](const ErrorInfoBase &PE) { in readLocationInfo()
/openbsd-src/gnu/llvm/llvm/tools/llvm-xray/
H A Dfunc-id-helper.cpp45 handleAllErrors(ResOrErr.takeError(), [&](const ErrorInfoBase &) { in SymbolOrNumber() argument
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DLLVMRemarkStreamer.h53 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EIB) { in LLVMRemarkSetupErrorInfo()
/openbsd-src/gnu/llvm/lld/Common/
H A DDWARF.cpp21 [](ErrorInfoBase &info) { warn(info.message()); }); in DWARFCache()
/openbsd-src/gnu/llvm/llvm/tools/llvm-remark-size-diff/
H A DRemarkSizeDiff.cpp347 handleAllErrors(std::move(E), [&](const ErrorInfoBase &PE) { in tryReadFileAndProcessRemarks()
497 handleAllErrors(std::move(E), [&](const ErrorInfoBase &PE) { in tryOutputAllDiffs()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp371 handleAllErrors(E.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH()
379 handleAllErrors(OFOrErr.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH()
/openbsd-src/gnu/llvm/llvm/tools/llvm-debuginfo-analyzer/
H A Dllvm-debuginfo-analyzer.cpp44 handleAllErrors(std::move(EC), [&](const ErrorInfoBase &EI) { in error()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/Symbolize/
H A DDIPrinter.cpp269 const ErrorInfoBase &ErrorInfo, in printError()
378 const ErrorInfoBase &ErrorInfo, in printError()
/openbsd-src/gnu/llvm/llvm/tools/llvm-mt/
H A Dllvm-mt.cpp80 handleAllErrors(std::move(EC), [&](const ErrorInfoBase &EI) { in error()
/openbsd-src/gnu/llvm/compiler-rt/lib/orc/tests/unit/
H A Derror_test.cpp24 class CustomError : public RTTIExtends<CustomError, ErrorInfoBase> {
/openbsd-src/gnu/llvm/llvm/include/llvm/Testing/Support/
H A DError.h142 for (const std::shared_ptr<ErrorInfoBase> &Info : Holder.Infos) in MatchAndExplain()
H A DSupportHelpers.h26 std::vector<std::shared_ptr<ErrorInfoBase>> Infos;

123