[libcxx] r334675 - [libcxx] [test] Update msvc_stdlib_force_include.hpp.

Stephan T. Lavavej via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 13 17:12:14 PDT 2018


Author: stl_msft
Date: Wed Jun 13 17:12:14 2018
New Revision: 334675

URL: http://llvm.org/viewvc/llvm-project?rev=334675&view=rev
Log:
[libcxx] [test] Update msvc_stdlib_force_include.hpp.

MSVC's STL removed _SCL_SECURE_NO_WARNINGS.

MSVC's STL implemented feature-test macros.

Modified:
    libcxx/trunk/test/support/msvc_stdlib_force_include.hpp

Modified: libcxx/trunk/test/support/msvc_stdlib_force_include.hpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/support/msvc_stdlib_force_include.hpp?rev=334675&r1=334674&r2=334675&view=diff
==============================================================================
--- libcxx/trunk/test/support/msvc_stdlib_force_include.hpp (original)
+++ libcxx/trunk/test/support/msvc_stdlib_force_include.hpp Wed Jun 13 17:12:14 2018
@@ -73,9 +73,6 @@ const AssertionDialogAvoider assertion_d
     // 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_d
     #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




More information about the cfe-commits mailing list