Don Hinton
|
0fe6aada16
[Error] Make llvm::cantFail include the original error messages
|
5 år sedan |
Pavel Labath
|
8a4b825100
Revert "raw_ostream: add operator<< overload for std::error_code"
|
6 år sedan |
Pavel Labath
|
c9850460b7
raw_ostream: add operator<< overload for std::error_code
|
6 år sedan |
Chandler Carruth
|
6b547686c5
Update the file headers across all of the LLVM projects in the monorepo
|
6 år sedan |
Jonas Devlieghere
|
686dfe3676
[Support] Make error banner optional in logAllUnhandledErrors
|
6 år sedan |
Alexandre Ganea
|
1b609e0623
[Error] Reintroduce type validation in createFileError()
|
7 år sedan |
Alexandre Ganea
|
60d68978a7
More build fix for r341064.
|
7 år sedan |
Alexandre Ganea
|
0993f24765
[Error] Add FileError helper; upgrade StringError behavior
|
7 år sedan |
Lang Hames
|
e0dc5c1ea2
[Support] Add a basic C API for llvm::Error.
|
7 år sedan |
Victor Leschuk
|
f4c9d7c0dc
[Support] Introduce createStringError helper function
|
7 år sedan |
Sam McCall
|
a2b35082b0
[Support] Make support types more easily printable.
|
7 år sedan |
Pavel Labath
|
67bff146fa
[Testing/Support] Make Failed() matcher work with abstract error types
|
7 år sedan |
Pavel Labath
|
9042a61f9b
[Testing/Support]: Better matching of Error failure states
|
7 år sedan |
Pavel Labath
|
1f8ac167fe
[Testing/Support] Make the HasValue matcher composable
|
7 år sedan |
Pavel Labath
|
b9b4df7d22
[Testing/Support] Make matchers work with Expected<T&>
|
7 år sedan |
Lang Hames
|
cfcd4a3547
[Error] Add an optional error message to cantFail.
|
8 år sedan |
Lang Hames
|
68a7b2d85a
[Error] Add a handleExpected utility.
|
8 år sedan |
Stephen Hines
|
c2588cb4b1
Fix two (three) more issues with unchecked Error.
|
8 år sedan |
Lang Hames
|
a69b2ae909
[Support] Rewrite handleAllErrors in terms of cantFail.
|
8 år sedan |
Hiroshi Inoue
|
0eb884f61d
fix typos in comments; NFC
|
8 år sedan |
Lang Hames
|
16d0f5a96b
Add a cantFail overload for Expected-reference (Expected<T&>) types.
|
8 år sedan |
Lang Hames
|
530cc1a7c8
[Support][Error] Add a 'cantFail' utility function for known-safe calls to
|
8 år sedan |
Mehdi Amini
|
09d3a40b84
Fix macro check for ABI breacking check: should use #if instead of #ifndef
|
8 år sedan |
Mehdi Amini
|
fa5f3d188d
Change Error unittest to use the LLVM_ENABLE_ABI_BREAKING_CHECKS instead of NDEBUG
|
8 år sedan |
Mehdi Amini
|
5652444405
Prevent at compile time converting from Error::success() to Expected<T>
|
8 år sedan |
Mehdi Amini
|
df0b8bce48
Make the Error class constructor protected
|
8 år sedan |
Lang Hames
|
780954376e
[Support] Make ErrorAsOutParameter take an Error* rather than an Error&.
|
9 år sedan |
Lang Hames
|
3df768796a
[Support] Fix a bug in ErrorList::join / joinErrors.
|
9 år sedan |
Lang Hames
|
c93d4ea0e3
[Support] Rename unconvertibleErrorCode to inconvertibleErrorCode.
|
9 år sedan |
Lang Hames
|
5083fc5573
[Support] Add a StringError convenience class to Error.h
|
9 år sedan |