Add case for c++2a to libc++ and test macros
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@308159 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -81,8 +81,11 @@
|
||||
# define TEST_STD_VER 11
|
||||
#elif __cplusplus <= 201402L
|
||||
# define TEST_STD_VER 14
|
||||
#elif __cplusplus <= 201703L
|
||||
# define TEST_STD_VER 17
|
||||
#else
|
||||
# define TEST_STD_VER 16 // current year; greater than current standard
|
||||
# define TEST_STD_VER 99 // greater than current standard
|
||||
// This is deliberately different than _LIBCPP_STD_VER to discourage matching them up.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user