Eric Fiselier
2551475596
Implement LWG 2857 for variant. Tests from Casey Carter @ Microsoft.
...
Also mark LWG 2857 as complete, since the changes to optional and
any were completed by Marshall earlier.
llvm-svn: 300403
2017-04-15 19:32:02 +00:00
Mehdi Amini
dc5474f800
Fix Apple-specific XFAIL directive in libc++ test
...
These tests are failing in XCode 8.0, 8.1, and 8.2, but not in Xcode
8.3. Annoyingly the version numbering for clang does not follow Xcode
and is bumped to 8.1 only in Xcode 8.3. So Xfailing apple-clang-8.0
should catch all cases here.
llvm-svn: 296704
2017-03-01 23:14:34 +00:00
Michael Park
466f0653a3
Updated the XFAIL comment in variant tests.
...
Summary:
`ConstexprTestTypes::NoCtors` is an aggregate type (and consequently a literal type) in C++17,
but not in C++14 since it has a base class. This patch updates the comment to accurately describe the reason for the XFAIL.
Reviewers: EricWF
Reviewed By: EricWF
Differential Revision: https://reviews.llvm.org/D30481
llvm-svn: 296558
2017-03-01 01:07:56 +00:00
Eric Fiselier
945d79ad8b
Add gcc-[56] clang-3.[678] to list of XFAILS for variant tests. Patch from Michael Park
...
llvm-svn: 291094
2017-01-05 09:06:30 +00:00
Eric Fiselier
9e17df95d4
Use C++11 static_assert in variant tests. Patch from Michael Park
...
llvm-svn: 291021
2017-01-04 22:43:08 +00:00
Eric Fiselier
277799a2e9
Add apple-clang-8 to list of XFAILS for some variant tests. Patch from Michael Park
...
llvm-svn: 290440
2016-12-23 19:07:54 +00:00
Eric Fiselier
33f947057d
XFAIL variant tests for apple-clang
...
llvm-svn: 288559
2016-12-03 00:33:03 +00:00
Eric Fiselier
d7a50d1d6b
Work around Clang 3.8 bugs
...
llvm-svn: 288556
2016-12-03 00:13:33 +00:00
Eric Fiselier
0d3d8de014
Implement C++17 <variant>. Patch from Michael Park!
...
This patch was reviewed as https://reviews.llvm.org/D23263 .
llvm-svn: 288547
2016-12-02 23:00:05 +00:00
Eric Fiselier
ffd5732170
Fix copy/paste errors in new variant tests
...
llvm-svn: 288538
2016-12-02 21:32:35 +00:00
Eric Fiselier
96be8df23e
Add tests for libc++'s constexpr variant copy/move extension
...
llvm-svn: 288536
2016-12-02 21:17:51 +00:00
Casey Carter
ca1c5e0fb6
Don't "LIBCPP_ONLY(stuff;)" at namespace scope.
...
Differential review: https://reviews.llvm.org/D27029
llvm-svn: 287732
2016-11-23 01:44:53 +00:00
Eric Fiselier
80e66ac1d3
Add <variant> tests but disable them for libc++
...
llvm-svn: 287728
2016-11-23 01:02:51 +00:00