| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | DiagnosticError.h | 41 Err = llvm::handleErrors(std::move(Err), [&](DiagnosticError &E) { in take()
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | Error.cpp | 83 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 D | ClangTidy.h | 111 void handleErrors(llvm::ArrayRef<ClangTidyError> Errors,
|
| H A D | ClangTidy.cpp | 585 void handleErrors(llvm::ArrayRef<ClangTidyError> Errors, in handleErrors() function
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Error.h | 163 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 D | MCATestBase.cpp | 75 handleErrors(Inst.takeError(), in runBaselineMCA()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | Caching.cpp | 116 E = handleErrors(std::move(E), [&](const ECError &E) -> Error { in localCache()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/xpc/ |
| H A D | XPCTransport.cpp | 26 handleErrors(std::move(E), [&](const LSPError &L) -> Error { in encodeError()
|
| /llvm-project-15.0.7/llvm/unittests/tools/llvm-mca/X86/ |
| H A D | TestIncrementalMCA.cpp | 135 auto RemainingE = handleErrors(InstOrErr.takeError(), in TEST_F()
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | Status.cpp | 69 error = llvm::handleErrors( in operator =()
|
| /llvm-project-15.0.7/llvm/tools/llvm-mca/ |
| H A D | llvm-mca.cpp | 432 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 D | lldb-platform.cpp | 111 handleErrors(llvm::writeFileAtomically( in save_socket_id_to_file()
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DebugNamesDWARFIndex.cpp | 82 handleErrors(std::move(error), [](const DebugNames::SentinelError &) {}), in MaybeLogLookupError()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | JSONTransport.cpp | 27 if (llvm::Error Unhandled = llvm::handleErrors( in encodeError()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | ErrorTest.cpp | 428 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 D | Transport.cpp | 145 if (llvm::Error unhandled = llvm::handleErrors(std::move(error), handlerFn)) in encodeError()
|
| /llvm-project-15.0.7/llvm/tools/dsymutil/ |
| H A D | DwarfLinkerForBinary.cpp | 216 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 D | AtomicChange.cpp | 276 return llvm::handleErrors( in insert()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterFixtures.h | 449 auto Err = llvm::handleErrors( in isImportError()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Transformer/ |
| H A D | Stencil.cpp | 234 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 D | ClangTidyMain.cpp | 620 handleErrors(Errors, Context, DisableFixes ? FB_NoFix : Behaviour, in clangTidyMain()
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | ProgrammersManual.rst | 641 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 D | FileCheck.cpp | 1267 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 D | StencilTest.cpp | 119 auto Err = llvm::handleErrors(ResultOrErr.takeError(), in testError()
|
| /llvm-project-15.0.7/llvm/unittests/FileCheck/ |
| H A D | FileCheckTest.cpp | 60 handleErrors(std::move(RemainingErrors), [&](const ErrorT &E) { in expectSameErrors() 724 EXPECT_THAT_ERROR(handleErrors(std::move(Err), in expectUndefErrors()
|