diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-06-14 21:31:42 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-06-14 21:31:42 +0000 |
commit | f2f2a6395fad5bd49a573fdf2b20072735d496f7 (patch) | |
tree | 9e17e483fe805be6d7940b2b653063df88815347 /libcxx/test/std/containers/associative/set/erase_iter.pass.cpp | |
parent | 23b6d6adc9dd38fe6c2cb433e163dc74b2cdc8e6 (diff) | |
download | bcm5719-llvm-f2f2a6395fad5bd49a573fdf2b20072735d496f7.tar.gz bcm5719-llvm-f2f2a6395fad5bd49a573fdf2b20072735d496f7.zip |
Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER.
This is a huge cleanup that helps make the libc++ test suite more portable.
Patch from STL@microsoft.com. Thanks STL!
llvm-svn: 272716
Diffstat (limited to 'libcxx/test/std/containers/associative/set/erase_iter.pass.cpp')
-rw-r--r-- | libcxx/test/std/containers/associative/set/erase_iter.pass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/containers/associative/set/erase_iter.pass.cpp b/libcxx/test/std/containers/associative/set/erase_iter.pass.cpp index 36828be86f2..85be1f5b9c2 100644 --- a/libcxx/test/std/containers/associative/set/erase_iter.pass.cpp +++ b/libcxx/test/std/containers/associative/set/erase_iter.pass.cpp @@ -106,7 +106,7 @@ int main() assert(i == m.begin()); assert(i == m.end()); } -#if __cplusplus >= 201103L +#if TEST_STD_VER >= 11 { typedef std::set<int, std::less<int>, min_allocator<int>> M; typedef int V; @@ -186,7 +186,7 @@ int main() assert(i == m.end()); } #endif -#if __cplusplus >= 201402L +#if TEST_STD_VER >= 14 { // This is LWG #2059 typedef TemplateConstructor T; |