Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnosticError.h41 Err = llvm::handleErrors(std::move(Err), [&](DiagnosticError &E) { in take()
/llvm-project-15.0.7/llvm/lib/Object/
H A DError.cpp83 return handleErrors(std::move(Err), [](std::unique_ptr<ECError> M) -> Error { in isNotObjectErrorInvalidFileType()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DClangTidy.h111 void handleErrors(llvm::ArrayRef<ClangTidyError> Errors,
H A DClangTidy.cpp585 void handleErrors(llvm::ArrayRef<ClangTidyError> Errors, in handleErrors() function
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DError.h163 friend Error handleErrors(Error E, HandlerTs &&... Handlers);
366 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()
/llvm-project-15.0.7/llvm/unittests/tools/llvm-mca/
H A DMCATestBase.cpp75 handleErrors(Inst.takeError(), in runBaselineMCA()
/llvm-project-15.0.7/llvm/lib/Support/
H A DCaching.cpp116 E = handleErrors(std::move(E), [&](const ECError &E) -> Error { in localCache()
/llvm-project-15.0.7/clang-tools-extra/clangd/xpc/
H A DXPCTransport.cpp26 handleErrors(std::move(E), [&](const LSPError &L) -> Error { in encodeError()
/llvm-project-15.0.7/llvm/unittests/tools/llvm-mca/X86/
H A DTestIncrementalMCA.cpp135 auto RemainingE = handleErrors(InstOrErr.takeError(), in TEST_F()
/llvm-project-15.0.7/lldb/source/Utility/
H A DStatus.cpp69 error = llvm::handleErrors( in operator =()
/llvm-project-15.0.7/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp432 handleErrors(RegionsOrErr.takeError(), [](const StringError &E) { in main()
533 if (auto NewE = handleErrors( in main()
/llvm-project-15.0.7/lldb/tools/lldb-server/
H A Dlldb-platform.cpp111 handleErrors(llvm::writeFileAtomically( in save_socket_id_to_file()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DDebugNamesDWARFIndex.cpp82 handleErrors(std::move(error), [](const DebugNames::SentinelError &) {}), in MaybeLogLookupError()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DJSONTransport.cpp27 if (llvm::Error Unhandled = llvm::handleErrors( in encodeError()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DErrorTest.cpp428 Error E = handleErrors( in TEST()
948 auto E31 = handleErrors(std::move(FE3), [](std::unique_ptr<FileError> F) { in TEST()
/llvm-project-15.0.7/mlir/lib/Tools/lsp-server-support/
H A DTransport.cpp145 if (llvm::Error unhandled = llvm::handleErrors(std::move(error), handlerFn)) in encodeError()
/llvm-project-15.0.7/llvm/tools/dsymutil/
H A DDwarfLinkerForBinary.cpp216 Error NewE = handleErrors(std::move(E), [&](std::unique_ptr<ECError> EC) { in remarksErrorHandler()
286 if (Error NewE = handleErrors( in loadObject()
/llvm-project-15.0.7/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp276 return llvm::handleErrors( in insert()
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterFixtures.h449 auto Err = llvm::handleErrors( in isImportError()
/llvm-project-15.0.7/clang/lib/Tooling/Transformer/
H A DStencil.cpp234 return handleErrors(std::move(Err), [](std::unique_ptr<StringError> E) { in eval()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/tool/
H A DClangTidyMain.cpp620 handleErrors(Errors, Context, DisableFixes ? FB_NoFix : Behaviour, in clangTidyMain()
/llvm-project-15.0.7/llvm/docs/
H A DProgrammersManual.rst641 handleErrors(
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.
688 may be a better choice than handleErrors, as it simplifies control flow when
784 Any error returned from a handler will be returned from the ``handleErrors``
973 which holds a list of user defined errors. The ``handleErrors`` routine
[all …]
/llvm-project-15.0.7/llvm/lib/FileCheck/
H A DFileCheck.cpp1267 handleErrors( in match()
2299 cantFail(handleErrors(std::move(Err), [&](const ErrorReported &E) {})); in Check()
2419 cantFail(handleErrors(std::move(Err), [&](const ErrorReported &E) {})); in CheckNot()
2477 handleErrors(std::move(Err), [&](const ErrorReported &E) {})); in CheckDag()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DStencilTest.cpp119 auto Err = llvm::handleErrors(ResultOrErr.takeError(), in testError()
/llvm-project-15.0.7/llvm/unittests/FileCheck/
H A DFileCheckTest.cpp60 handleErrors(std::move(RemainingErrors), [&](const ErrorT &E) { in expectSameErrors()
724 EXPECT_THAT_ERROR(handleErrors(std::move(Err), in expectUndefErrors()

12