Michael J. Spencer
31876b4efd
[Support][ErrorOr] Add support for convertable types.
...
llvm-svn: 174357
2013-02-05 08:22:27 +00:00
Michael J. Spencer
f71baa84ea
[Support][ErrorOr] Add optimized specialization of ErrorOr<void>.
...
ErrorOr<void> represents an operation that returns nothing, but can still fail.
It should be used in cases where you need the aditional user data that ErrorOr
provides over error_code.
llvm-svn: 173209
2013-01-23 00:18:31 +00:00
NAKAMURA Takumi
08e028e194
ErrorOrTest.cpp: Check existence of EXPECT_DEBUG_DEATH. It is not always available.
...
llvm-svn: 173123
2013-01-22 04:02:41 +00:00
Michael J. Spencer
b21371018c
[Support] Make test C++03.
...
llvm-svn: 173004
2013-01-21 05:39:07 +00:00
Benjamin Kramer
135658f4bc
Disable test that fails due to lack of std::true_type in C++03.
...
Michael, can this test be ported to C++03?
llvm-svn: 172996
2013-01-20 21:52:27 +00:00
Michael J. Spencer
779c4247f7
[Support] Port ErrorOr<T> from lld to C++03.
...
llvm-svn: 172991
2013-01-20 20:32:30 +00:00