diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-07-31 02:43:52 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-07-31 02:43:52 +0000 |
commit | a0832b5743713a947b5590cc68d59a570d88e180 (patch) | |
tree | 62084bef7ac10bfac19ac57bb248d53df1b0689d /llvm/lib/Object/COFFObjectFile.cpp | |
parent | 5265a3ed710c431a130cadc150b50bf6fbc6da53 (diff) | |
download | llvm-a0832b5743713a947b5590cc68d59a570d88e180.zip llvm-a0832b5743713a947b5590cc68d59a570d88e180.tar.gz llvm-a0832b5743713a947b5590cc68d59a570d88e180.tar.bz2 |
Start cleanup of unique_ptr tests.
One of the last sections of tests that still fail in C++03 are the unique_ptr
tests. This patch begins cleaning up the tests and fixing C++03 failures.
The main changes of this patch:
- The "Deleter" type in "deleter.h" tried to be "move-only" in C++03. However
the move simulation no longer works (see "__rv"). "Deleter" is now copy
constructible in C++03. However copying "Deleter" will "move" the test value
instead of copying it.
- Reduce the unique.ptr.single.ctor tests files from ~25 to 4. There is no
reason the tests were split through so many files.
llvm-svn: 243730
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions