Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DError.h48 class ErrorInfoBase {
50 virtual ~ErrorInfoBase() = default;
198 Error(std::unique_ptr<ErrorInfoBase> Payload) { in Error()
271 ErrorInfoBase *getPtr() const { in getPtr()
273 return reinterpret_cast<ErrorInfoBase*>( in getPtr()
281 void setPtr(ErrorInfoBase *EI) { in setPtr()
283 Payload = reinterpret_cast<ErrorInfoBase*>( in setPtr()
302 Payload = reinterpret_cast<ErrorInfoBase*>( in setChecked()
309 std::unique_ptr<ErrorInfoBase> takePayload() { in takePayload()
310 std::unique_ptr<ErrorInfoBase> Tmp(getPtr()); in takePayload()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DError.cpp53 void ErrorInfoBase::anchor() {} in anchor()
54 char ErrorInfoBase::ID = 0;
65 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EI) { in logAllUnhandledErrors()
95 handleAllErrors(std::move(Err), [&](const ErrorInfoBase &EI) { in errorToErrorCode()
153 return reinterpret_cast<ErrorInfoBase *>(Err)->dynamicClassID(); in LLVMGetErrorTypeId()
H A DWithColor.cpp138 handleAllErrors(std::move(Err), [](ErrorInfoBase &Info) { in defaultErrorHandler()
144 handleAllErrors(std::move(Warning), [](ErrorInfoBase &Info) { in defaultWarningHandler()
/netbsd-src/external/apache2/llvm/dist/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,
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
232 handleAllErrors(MaybeFileMachine.takeError(), [&](const ErrorInfoBase &EIB) { in appendFile()
380 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EI) { in libDriverMain()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitReader.cpp45 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in LLVMParseBitcodeInContext()
91 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in LLVMGetBitcodeModuleInContext()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IRReader/
H A DIRReader.cpp40 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in getLazyIRModule()
79 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in parseIR()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cvtres/
H A Dllvm-cvtres.cpp82 handleAllErrors(std::move(EC), [&](const ErrorInfoBase &EI) { in error()
91 [&](const ErrorInfoBase &EI) { reportError(EI.message()); }); in error()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-opt-report/
H A DOptReport.cpp159 handleAllErrors(Format.takeError(), [&](const ErrorInfoBase &PE) { in readLocationInfo()
169 handleAllErrors(MaybeParser.takeError(), [&](const ErrorInfoBase &PE) { in readLocationInfo()
186 handleAllErrors(std::move(E), [&](const ErrorInfoBase &PE) { in readLocationInfo()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.cpp39 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) { in create()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DLLVMRemarkStreamer.h46 handleAllErrors(std::move(E), [&](const ErrorInfoBase &EIB) { in LLVMRemarkSetupErrorInfo()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-xray/
H A Dfunc-id-helper.cpp44 handleAllErrors(ResOrErr.takeError(), [&](const ErrorInfoBase &) { in SymbolOrNumber() argument
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DSerialization.h320 std::function<Error(ChannelT &C, const ErrorInfoBase &)>;
350 ChannelT &C, const ErrorInfoBase &EIB) -> Error { in registerErrorType()
366 return handleErrors(std::move(Err), [&C](const ErrorInfoBase &EIB) { in serialize()
393 static Error serializeAsStringError(ChannelT &C, const ErrorInfoBase &EIB) { in serializeAsStringError()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp347 handleAllErrors(E.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH()
355 handleAllErrors(OFOrErr.takeError(), [&](const llvm::ErrorInfoBase &EIB) { in ExtractPCH()
H A DCodeGenAction.cpp937 handleAllErrors(ModuleOrErr.takeError(), [&](ErrorInfoBase &EIB) { in CreateASTConsumer()
988 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in loadModule()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/Symbolize/
H A DDIPrinter.cpp267 const ErrorInfoBase &ErrorInfo, in printError()
376 const ErrorInfoBase &ErrorInfo, in printError()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-mt/
H A Dllvm-mt.cpp78 handleAllErrors(std::move(EC), [&](const ErrorInfoBase &EI) { in error()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Testing/Support/
H A DSupportHelpers.h26 std::vector<std::shared_ptr<ErrorInfoBase>> Infos;
H A DError.h142 for (const std::shared_ptr<ErrorInfoBase> &Info: Holder.Infos) in MatchAndExplain()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp407 [&](const ErrorInfoBase &EI) { error(EI.message()); }); in reportError()
420 createFileError(Input, std::move(Err)), [&](const ErrorInfoBase &EI) { in reportWarning()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-symbolizer/
H A Dllvm-symbolizer.cpp85 [&](const ErrorInfoBase &EI) { in print()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp198 handleAllErrors(ModuleOrErr.takeError(), [&](ErrorInfoBase &EIB) { in loadModuleFromInput()
224 handleAllErrors(Result.takeError(), [&](ErrorInfoBase &EIB) { in crossImportIntoModule()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/gold/
H A Dgold-plugin.cpp497 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) -> Error { in check()
547 handleAllErrors(ObjOrErr.takeError(), [&](const ErrorInfoBase &EI) { in claim_file_hook()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp169 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) { in check()

12