Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
c242be40a140df8959ce08bc6d593d9ee14ca319
/
llvm
/
unittests
/
Support
/
ErrorTest.cpp
2946cd7
Update the file headers across all of the LLVM projects in the monorepo
by Chandler Carruth
· 7 years ago
45eb84f
[Support] Make error banner optional in logAllUnhandledErrors
by Jonas Devlieghere
· 7 years ago
9603244
[Error] Reintroduce type validation in createFileError()
by Alexandre Ganea
· 7 years ago
607a7be
More build fix for r341064.
by Alexandre Ganea
· 7 years ago
e11f221
[Error] Add FileError helper; upgrade StringError behavior
by Alexandre Ganea
· 7 years ago
00fb14d
[Support] Add a basic C API for llvm::Error.
by Lang Hames
· 7 years ago
e58e990
[Support] Introduce createStringError helper function
by Victor Leschuk
· 7 years ago
8ca9910
[Support] Make support types more easily printable.
by Sam McCall
· 7 years ago
397e150
[Testing/Support] Make Failed() matcher work with abstract error types
by Pavel Labath
· 7 years ago
510725c
[Testing/Support]: Better matching of Error failure states
by Pavel Labath
· 7 years ago
56c2d99
[Testing/Support] Make the HasValue matcher composable
by Pavel Labath
· 8 years ago
e8354fe
[Testing/Support] Make matchers work with Expected<T&>
by Pavel Labath
· 8 years ago
3025e48
[Error] Add an optional error message to cantFail.
by Lang Hames
· 8 years ago
5d06c23
[Error] Add a handleExpected utility.
by Lang Hames
· 8 years ago
cc14a38
Fix two (three) more issues with unchecked Error.
by Stephen Hines
· 8 years ago
7febf2b
[Support] Rewrite handleAllErrors in terms of cantFail.
by Lang Hames
· 8 years ago
0ca79dc
fix typos in comments; NFC
by Hiroshi Inoue
· 8 years ago
cd22753
Add a cantFail overload for Expected-reference (Expected<T&>) types.
by Lang Hames
· 8 years ago
fd4de91
[Support][Error] Add a 'cantFail' utility function for known-safe calls to
by Lang Hames
· 9 years ago
cb79c07
Fix macro check for ABI breacking check: should use #if instead of #ifndef
by Mehdi Amini
· 9 years ago
11407ae
Change Error unittest to use the LLVM_ENABLE_ABI_BREAKING_CHECKS instead of NDEBUG
by Mehdi Amini
· 9 years ago
c1edf56
Prevent at compile time converting from Error::success() to Expected<T>
by Mehdi Amini
· 9 years ago
41af430
Make the Error class constructor protected
by Mehdi Amini
· 9 years ago
5e51a2e
[Support] Make ErrorAsOutParameter take an Error* rather than an Error&.
by Lang Hames
· 9 years ago
759b30e
[Support] Fix a bug in ErrorList::join / joinErrors.
by Lang Hames
· 9 years ago
bd8e954
[Support] Rename unconvertibleErrorCode to inconvertibleErrorCode.
by Lang Hames
· 9 years ago
c5e0bbd
[Support] Add a StringError convenience class to Error.h
by Lang Hames
· 9 years ago
27370a0
[Support] Add a free toString function for Error
by Vedant Kumar
· 9 years ago
285639f
[Support] Fix latent bugs in Expected and ExitOnError that were preventing them
by Lang Hames
· 9 years ago
580ca23
[Support] Add a checked flag to Expected<T>, require checks before access or
by Lang Hames
· 9 years ago
d1af8fc
[Support] Switch to RAII helper for error-as-out-parameter idiom.
by Lang Hames
· 10 years ago
d0ac31a
[Support] Add Error::errorForOutParameter helper.
by Lang Hames
· 10 years ago
a15b76b
Try to fix ODR violation of ErrorInfo::ID
by Reid Kleckner
· 10 years ago
882f209
ErrorTest.cpp: Move instantiations out of anonymous namespace. gcc didn't complain.
by NAKAMURA Takumi
· 10 years ago
e6d29c9
Define ErrorInfo::ID explicitly.
by NAKAMURA Takumi
· 10 years ago
b2cef64
ErrorTest.cpp: Fix an expression, possibly typo.
by NAKAMURA Takumi
· 10 years ago
d21a535
[Support] Add conversions between Expected<T> and ErrorOr<T>.
by Lang Hames
· 10 years ago
e7aad35
[Support] Make all Errors convertible to std::error_code.
by Lang Hames
· 10 years ago
01864a2
[Support] Refactor Error unit tests to avoid duplicating work.
by Lang Hames
· 10 years ago
6935c2d
[Support] Add ExitOnError utility to support tools that use the exit-on-error
by Lang Hames
· 10 years ago
01a3cf4
[Support] Make Error::isA<T>() works on success values.
by Lang Hames
· 10 years ago
9fb8e1b
[Support] Update Error unit test to remove implementation specific behaviour.
by Lang Hames
· 10 years ago
f7f6d3e
[Support] Add the 'Error' class for structured error handling.
by Lang Hames
· 10 years ago