Home
last modified time | relevance | path

Searched refs:handleErrors (Results 1 – 21 of 21) sorted by relevance

/openbsd/src/gnu/llvm/clang/include/clang/Basic/
DDiagnosticError.h42 Err = llvm::handleErrors(std::move(Err), [&](DiagnosticError &E) { in take()
/openbsd/src/gnu/llvm/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp116 handleErrors(DWOs.takeError(), in main()
138 handleErrors(ErrOrTriple.takeError(), in main()
/openbsd/src/gnu/llvm/llvm/lib/Object/
DError.cpp83 return handleErrors(std::move(Err), [](std::unique_ptr<ECError> M) -> Error { in isNotObjectErrorInvalidFileType()
/openbsd/src/gnu/llvm/llvm/include/llvm/Support/
DError.h164 friend Error handleErrors(Error E, HandlerTs &&... Handlers);
367 friend Error handleErrors(Error E, HandlerTs &&... Handlers);
943 Error handleErrors(Error E, HandlerTs &&... Hs) { in handleErrors() function
967 cantFail(handleErrors(std::move(E), std::forward<HandlerTs>(Handlers)...)); in handleAllErrors()
1006 if (auto Err = handleErrors(ValOrErr.takeError(), in handleExpected()
/openbsd/src/gnu/llvm/llvm/tools/llvm-mca/
Dllvm-mca.cpp441 handleErrors(RegionsOrErr.takeError(), [](const StringError &E) { in main()
482 if (auto Err = handleErrors(InstrumentRegionsOrErr.takeError(), in main()
583 if (auto NewE = handleErrors( in main()
/openbsd/src/gnu/llvm/llvm/lib/Support/
DCaching.cpp118 E = handleErrors(std::move(E), [&](const ECError &E) -> Error { in localCache()
/openbsd/src/gnu/llvm/lldb/source/Utility/
DStatus.cpp69 error = llvm::handleErrors( in operator =()
/openbsd/src/gnu/llvm/lldb/tools/lldb-server/
Dlldb-platform.cpp112 handleErrors(llvm::writeFileAtomically( in save_socket_id_to_file()
/openbsd/src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
DDebugNamesDWARFIndex.cpp83 handleErrors(std::move(error), [](const DebugNames::SentinelError &) {}), in MaybeLogLookupError()
/openbsd/src/gnu/llvm/llvm/tools/dsymutil/
DDwarfLinkerForBinary.cpp215 Error NewE = handleErrors(std::move(E), [&](std::unique_ptr<ECError> EC) { in remarksErrorHandler()
285 if (Error NewE = handleErrors( in loadObject()
/openbsd/src/gnu/llvm/clang/lib/Tooling/Refactoring/
DAtomicChange.cpp276 return llvm::handleErrors( in insert()
/openbsd/src/gnu/llvm/clang/lib/Tooling/Transformer/
DStencil.cpp234 return handleErrors(std::move(Err), [](std::unique_ptr<StringError> E) { in eval()
/openbsd/src/gnu/llvm/llvm/docs/
DProgrammersManual.rst641 handleErrors(
650 The ``handleErrors`` function takes an error as its first argument, followed by
653 ``handleErrors`` function will visit each handler in the sequence and check its
658 Since the list of handlers passed to ``handleErrors`` may not cover every error
659 type that can occur, the ``handleErrors`` function also returns an Error value
661 ``handleErrors`` does not match any of the handlers it will be returned from
662 handleErrors. Idiomatic use of ``handleErrors`` thus looks like:
667 handleErrors(
679 ``handleErrors`` except that it will terminate the program if an unhandled
684 possible, use handleErrors and propagate unknown errors up the stack instead.
[all …]
/openbsd/src/gnu/llvm/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp338 return handleErrors( in handleMaybeNoDataFoundError()
/openbsd/src/gnu/llvm/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp424 if (auto Err = handleErrors( in write()
/openbsd/src/gnu/llvm/llvm/lib/ProfileData/
DInstrProfReader.cpp884 if (Error Unhandled = handleErrors( in getRecords()
/openbsd/src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
DDWARFVerifier.cpp634 } else if (Error Err = handleErrors( in verifyDebugInfoAttribute()
/openbsd/src/gnu/llvm/clang/lib/Frontend/
DCompilerInstance.cpp899 llvm::Error E = handleErrors( in createOutputFileImpl()
/openbsd/src/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
DScriptInterpreterPython.cpp1130 llvm::handleErrors(return_value.takeError(), [&](PythonException &E) { in ExecuteMultipleLines()
/openbsd/src/gnu/llvm/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp134 E = handleErrors(std::move(E), in handleMergeWriterError()
/openbsd/src/gnu/llvm/clang/lib/Serialization/
DASTReader.cpp1294 handleErrors(std::move(Err), [this](const DiagnosticError &E) { in Error()