[libc++] [test] Silence C++20 deprecation warnings in the MSVC STL

... when including msvc_stdlib_force_include.hpp.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@358782 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Casey Carter 2019-04-19 20:39:41 +00:00
parent a12cb9d211
commit 6f21f89dc4

View File

@ -72,8 +72,9 @@ 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 features that are deprecated in C++17.
// Silence warnings about features that are deprecated in C++17 and C++20.
#define _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS
#define _SILENCE_ALL_CXX20_DEPRECATION_WARNINGS
#endif // _LIBCXX_IN_DEVCRT
#include <ciso646>