aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/ErrorTest.cpp
AgeCommit message (Expand)AuthorFilesLines
2025-02-06[LLVM][Support] Add new CreateFileError functions (#125906)Amr Hesham1-0/+11
2024-09-13[llvm][unittests] Don't call raw_string_ostream::flush() (NFC)JOE19941-2/+0
2024-09-13[llvm][unittests] Strip unneeded use of raw_string_ostream::str() (NFC)JOE19941-7/+7
2024-07-31Add llvm::Error C API, LLVMCantFailDavid Blaikie1-0/+2
2024-06-14[Error] Add non-consuming toString (#95375)Nikita Popov1-0/+10
2024-05-16Unittest for Error forwarding, follow-up to PR #92208 (#92314)Mircea Trofin1-0/+18
2024-03-01[Support] Fix crash in install_bad_alloc_error_handler (#83160)Fabian Schiebel1-0/+26
2024-02-17Revert "[Support] Introduce formatv variant of createStringError" (#82126)Alex Langford1-17/+0
2024-02-16[Support] Introduce formatv variant of createStringError (#80493)Alex Langford1-0/+17
2022-12-16[Support] llvm::Optional => std::optionalFangrui Song1-2/+2
2022-12-02[llvm/unittests] Use std::nullopt instead of None (NFC)Kazu Hirata1-2/+2
2022-07-10ManagedStatic: remove many straightforward uses in llvmNicolai Hähnle1-3/+4
2022-07-10Revert "ManagedStatic: remove many straightforward uses in llvm"Nicolai Hähnle1-4/+3
2022-07-10ManagedStatic: remove many straightforward uses in llvmNicolai Hähnle1-3/+4
2022-04-05[unittests] fix intermittent SupportTests failuresYuanfang Chen1-1/+1
2022-01-21[NFCI][Support] Avoid ASSERT_/EXPECT_TRUE(A <op> B)Archibald Elliott1-9/+14
2021-11-12Support: Pass wrapped Error's error code through FileErrorDuncan P. N. Exon Smith1-0/+27
2021-10-22Support: Add Expected<T>::moveInto() to avoid extra namesDuncan P. N. Exon Smith1-0/+67
2021-09-08Error: Improve unit test by using gtest equality rather than explicit string ...David Blaikie1-23/+16
2021-09-08FileError: Provide a way to retrieve the underlying error string without the ...David Blaikie1-2/+7
2021-09-08FileError: Support zero-length file namesDavid Blaikie1-0/+3
2021-07-08[NFC] Mark Expected<T>::assertIsChecked() as constxndcn1-7/+15
2020-02-21[Error/unittests] Add a FailedWithMessage gtest matcherPavel Labath1-0/+40
2020-02-19ErrorTest: Break up "ErrorMatchers" testPavel Labath1-9/+14
2019-10-17[Error] Make llvm::cantFail include the original error messagesDon Hinton1-7/+10
2019-08-14Revert "raw_ostream: add operator<< overload for std::error_code"Pavel Labath1-8/+1
2019-08-14raw_ostream: add operator<< overload for std::error_codePavel Labath1-1/+8
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-11-11[Support] Make error banner optional in logAllUnhandledErrorsJonas Devlieghere1-5/+4
2018-09-07[Error] Reintroduce type validation in createFileError()Alexandre Ganea1-0/+3
2018-08-30More build fix for r341064.Alexandre Ganea1-1/+1
2018-08-30[Error] Add FileError helper; upgrade StringError behaviorAlexandre Ganea1-1/+111
2018-08-15[Support] Add a basic C API for llvm::Error.Lang Hames1-0/+32
2018-07-26[Support] Introduce createStringError helper functionVictor Leschuk1-0/+23
2018-07-06[Support] Make support types more easily printable.Sam McCall1-10/+29
2018-04-10[Testing/Support] Make Failed() matcher work with abstract error typesPavel Labath1-0/+1
2018-04-05[Testing/Support]: Better matching of Error failure statesPavel Labath1-0/+24
2017-12-13[Testing/Support] Make the HasValue matcher composablePavel Labath1-5/+16
2017-12-07[Testing/Support] Make matchers work with Expected<T&>Pavel Labath1-0/+40
2017-08-29[Error] Add an optional error message to cantFail.Lang Hames1-2/+3
2017-08-28[Error] Add a handleExpected utility.Lang Hames1-0/+53
2017-08-25Fix two (three) more issues with unchecked Error.Stephen Hines1-1/+1
2017-08-24[Support] Rewrite handleAllErrors in terms of cantFail.Lang Hames1-2/+3
2017-07-11fix typos in comments; NFCHiroshi Inoue1-1/+1
2017-06-20Add a cantFail overload for Expected-reference (Expected<T&>) types.Lang Hames1-0/+4
2017-02-27[Support][Error] Add a 'cantFail' utility function for known-safe calls toLang Hames1-0/+28
2016-11-30Fix macro check for ABI breacking check: should use #if instead of #ifndefMehdi Amini1-10/+10
2016-11-29Change Error unittest to use the LLVM_ENABLE_ABI_BREAKING_CHECKS instead of N...Mehdi Amini1-10/+10
2016-11-11Prevent at compile time converting from Error::success() to Expected<T>Mehdi Amini1-10/+11
2016-11-11Make the Error class constructor protectedMehdi Amini1-2/+4