summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@exchange.microsoft.com>2018-06-14 00:12:14 +0000
committerStephan T. Lavavej <stl@exchange.microsoft.com>2018-06-14 00:12:14 +0000
commit9c0cb24c23f5b95bd34e686e8c7f97dfce944fc9 (patch)
tree2077a7b9004b8a99ee4145d0c5e137d09e3848de
parent204d5ec7f194493b764b4fe22d2024fb52287d12 (diff)
downloadexternal_libcxx-9c0cb24c23f5b95bd34e686e8c7f97dfce944fc9.tar.gz
external_libcxx-9c0cb24c23f5b95bd34e686e8c7f97dfce944fc9.tar.bz2
external_libcxx-9c0cb24c23f5b95bd34e686e8c7f97dfce944fc9.zip
[libcxx] [test] Update msvc_stdlib_force_include.hpp.
MSVC's STL removed _SCL_SECURE_NO_WARNINGS. MSVC's STL implemented feature-test macros. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@334675 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/support/msvc_stdlib_force_include.hpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/support/msvc_stdlib_force_include.hpp b/test/support/msvc_stdlib_force_include.hpp
index 232f522e3..f2ec35fd0 100644
--- a/test/support/msvc_stdlib_force_include.hpp
+++ b/test/support/msvc_stdlib_force_include.hpp
@@ -73,9 +73,6 @@ const AssertionDialogAvoider assertion_dialog_avoider{};
// atomic_is_lock_free.pass.cpp needs this VS 2015 Update 2 fix.
#define _ENABLE_ATOMIC_ALIGNMENT_FIX
- // Silence warnings about raw pointers and other unchecked iterators.
- #define _SCL_SECURE_NO_WARNINGS
-
// Silence warnings about features that are deprecated in C++17.
#define _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS
#endif // _LIBCXX_IN_DEVCRT
@@ -88,12 +85,4 @@ const AssertionDialogAvoider assertion_dialog_avoider{};
#define TEST_STD_VER 14
#endif // _HAS_CXX17
-// Simulate library feature-test macros.
-#define __cpp_lib_invoke 201411
-#define __cpp_lib_void_t 201411
-
-#if _HAS_CXX17
- #define __cpp_lib_atomic_is_always_lock_free 201603
-#endif // _HAS_CXX17
-
#endif // SUPPORT_MSVC_STDLIB_FORCE_INCLUDE_HPP