Chandler Carruth
|
6b547686c5
Update the file headers across all of the LLVM projects in the monorepo
|
6 роки тому |
Richard Smith
|
b13ea4ef63
Fix incorrect usage of std::is_assignable.
|
7 роки тому |
Nick Lewycky
|
3775b63f3e
Use std::forward to make ErrorOr<T> constructible from a value that has a user-defined conversion to T. No functionality change intended.
|
9 роки тому |
Rafael Espindola
|
803fe19680
Don't use std::errc.
|
10 роки тому |
Michael J. Spencer
|
b86942cca4
[Support] Fix ErrorOr equality operator.
|
10 роки тому |
David Blaikie
|
38a4f3bbec
Ensure ErrorOr cannot implicitly invoke explicit ctors of the underlying type.
|
11 роки тому |
Rafael Espindola
|
d8b23109b2
Finishing touch for the std::error_code transition.
|
11 роки тому |
Rafael Espindola
|
7acd886ecf
Use std::error_code instead of llvm::error_code.
|
11 роки тому |
Craig Topper
|
b177041dfa
[C++11] Use 'nullptr'.
|
11 роки тому |
Chandler Carruth
|
73bbab9d75
[C++11] Remove LLVM_HAS_CXX11_STDLIB now that it is just on.
|
11 роки тому |
Rafael Espindola
|
e82dec5c0f
Use LLVM_EXPLICIT instead of a function pointer as bool.
|
11 роки тому |
Rafael Espindola
|
e279c777f7
Add a unit test for the copy constructor.
|
11 роки тому |
Rafael Espindola
|
dee18bb2e8
Use getError and remove the error_code operator.
|
11 роки тому |
Chandler Carruth
|
974a445bd9
Re-sort all of the includes with ./utils/sort_includes.py so that
|
11 роки тому |
Rafael Espindola
|
f94b3480fc
Simplify ErrorOr.
|
11 роки тому |
Michael J. Spencer
|
9b4886ee55
[Support][ErrorOr] Add support for implicit conversion from error code/condition enums.
|
12 роки тому |
Michael J. Spencer
|
780e9004c8
[Support][ErrorOr] Add support for convertable types.
|
12 роки тому |
Andrew Trick
|
2a78bb961a
Revert "[Support][ErrorOr] Add support for convertable types."
|
12 роки тому |
Michael J. Spencer
|
a33e1fafac
[Support][ErrorOr] Add support for convertable types.
|
12 роки тому |
Michael J. Spencer
|
bdd4e13118
[Support][ErrorOr] Add optimized specialization of ErrorOr<void>.
|
12 роки тому |
NAKAMURA Takumi
|
93d61374f3
ErrorOrTest.cpp: Check existence of EXPECT_DEBUG_DEATH. It is not always available.
|
12 роки тому |
Michael J. Spencer
|
7babd25ae4
[Support] Make test C++03.
|
12 роки тому |
Benjamin Kramer
|
c052d5b047
Disable test that fails due to lack of std::true_type in C++03.
|
12 роки тому |
Michael J. Spencer
|
01812bebcc
[Support] Port ErrorOr<T> from lld to C++03.
|
12 роки тому |