summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCasey Carter <Casey@Carter.net>2019-04-19 20:39:41 +0000
committerCasey Carter <Casey@Carter.net>2019-04-19 20:39:41 +0000
commitc8eb2d0354a14a9b69cf1816dcc4e3e291023da2 (patch)
treefba1f63f88338285d62aa836f361218d5adcf504
parent0a7dd5a2a4d5dd6c07660e261a8de88ceee5df56 (diff)
downloadbcm5719-llvm-c8eb2d0354a14a9b69cf1816dcc4e3e291023da2.tar.gz
bcm5719-llvm-c8eb2d0354a14a9b69cf1816dcc4e3e291023da2.zip
[libc++] [test] Silence C++20 deprecation warnings in the MSVC STL
... when including msvc_stdlib_force_include.hpp. llvm-svn: 358782
-rw-r--r--libcxx/test/support/msvc_stdlib_force_include.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/test/support/msvc_stdlib_force_include.hpp b/libcxx/test/support/msvc_stdlib_force_include.hpp
index fcf64d78c7f..fd8438ff2aa 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 <ciso646>
OpenPOWER on IntegriCloud