From c8eb2d0354a14a9b69cf1816dcc4e3e291023da2 Mon Sep 17 00:00:00 2001 From: Casey Carter Date: Fri, 19 Apr 2019 20:39:41 +0000 Subject: [PATCH] [libc++] [test] Silence C++20 deprecation warnings in the MSVC STL ... when including msvc_stdlib_force_include.hpp. llvm-svn: 358782 --- libcxx/test/support/msvc_stdlib_force_include.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libcxx/test/support/msvc_stdlib_force_include.hpp b/libcxx/test/support/msvc_stdlib_force_include.hpp index fcf64d7..fd8438f 100644 --- a/libcxx/test/support/msvc_stdlib_force_include.hpp +++ b/libcxx/test/support/msvc_stdlib_force_include.hpp @@ -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 -- 2.7.4