diff options
| author | Casey Carter <Casey@Carter.net> | 2019-04-19 20:39:41 +0000 |
|---|---|---|
| committer | Casey Carter <Casey@Carter.net> | 2019-04-19 20:39:41 +0000 |
| commit | c8eb2d0354a14a9b69cf1816dcc4e3e291023da2 (patch) | |
| tree | fba1f63f88338285d62aa836f361218d5adcf504 | |
| parent | 0a7dd5a2a4d5dd6c07660e261a8de88ceee5df56 (diff) | |
| download | bcm5719-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.hpp | 3 |
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> |

