diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-06-27 01:02:43 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-06-27 01:02:43 +0000 |
commit | 68436a9b488b976f811dd2dc2c5dba078bd9427b (patch) | |
tree | 65079ab98ddf09f4708d776d277a5dc908e0bbfe /libcxx/test/support | |
parent | 8b7faa68716d8c65ffad76b2594684a41aeb4c62 (diff) | |
download | bcm5719-llvm-68436a9b488b976f811dd2dc2c5dba078bd9427b.tar.gz bcm5719-llvm-68436a9b488b976f811dd2dc2c5dba078bd9427b.zip |
Implement P0163r0. Add shared_ptr::weak_type.
This patch adds the weak_type typedef in shared_ptr. It is available in
C++17 and newer.
This patch also updates the _LIBCPP_STD_VER and TEST_STD_VER macros to
have the value of 16, since 2016 is the current year.
llvm-svn: 273839
Diffstat (limited to 'libcxx/test/support')
-rw-r--r-- | libcxx/test/support/test_macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/support/test_macros.h b/libcxx/test/support/test_macros.h index ada4a961ab0..a072e31b77b 100644 --- a/libcxx/test/support/test_macros.h +++ b/libcxx/test/support/test_macros.h @@ -43,7 +43,7 @@ #elif __cplusplus <= 201402L # define TEST_STD_VER 14 #else -# define TEST_STD_VER 99 // greater than current standard +# define TEST_STD_VER 16 // current year; greater than current standard #endif #endif |