summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/ErrorOrTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Support][ErrorOr] Add support for convertable types.Michael J. Spencer2013-02-061-0/+13
| | | | | | Thanks to Andrew, David, and Aaron for helping fix this. llvm-svn: 174552
* Revert "[Support][ErrorOr] Add support for convertable types."Andrew Trick2013-02-051-11/+0
| | | | | | | | | This reverts commit a33e1fafac7fedb1b080ef07ddf9ad6ddff3a830. This unit test crashes on Darwon. It needs to be temporarily reverted to unblock the test infrastructure. llvm-svn: 174458
* [Support][ErrorOr] Add support for convertable types.Michael J. Spencer2013-02-051-0/+11
| | | | llvm-svn: 174357
* [Support][ErrorOr] Add optimized specialization of ErrorOr<void>.Michael J. Spencer2013-01-231-0/+11
| | | | | | | | 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
* ErrorOrTest.cpp: Check existence of EXPECT_DEBUG_DEATH. It is not always ↵NAKAMURA Takumi2013-01-221-0/+2
| | | | | | available. llvm-svn: 173123
* [Support] Make test C++03.Michael J. Spencer2013-01-211-4/+2
| | | | llvm-svn: 173004
* Disable test that fails due to lack of std::true_type in C++03.Benjamin Kramer2013-01-201-0/+2
| | | | | | Michael, can this test be ported to C++03? llvm-svn: 172996
* [Support] Port ErrorOr<T> from lld to C++03.Michael J. Spencer2013-01-201-0/+78
llvm-svn: 172991
OpenPOWER on IntegriCloud