summaryrefslogtreecommitdiffstats
path: root/libcxx/test/support
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@exchange.microsoft.com>2017-06-06 02:46:12 +0000
committerStephan T. Lavavej <stl@exchange.microsoft.com>2017-06-06 02:46:12 +0000
commita651f73a79ddd291e78d9de41806f4759b95edae (patch)
treebf7b479db097c42d2e13f2497aed330ddeaa9433 /libcxx/test/support
parent9d6f08a8d40bf3222ea81189e85635bc46e90495 (diff)
downloadbcm5719-llvm-a651f73a79ddd291e78d9de41806f4759b95edae.tar.gz
bcm5719-llvm-a651f73a79ddd291e78d9de41806f4759b95edae.zip
[libcxx] [test] Add _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to msvc_stdlib_force_include.hpp.
This macro will instruct MSVC's STL to not warn about features that are deprecated in C++17, as libcxx tests those features and uses them elsewhere. llvm-svn: 304765
Diffstat (limited to 'libcxx/test/support')
-rw-r--r--libcxx/test/support/msvc_stdlib_force_include.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/test/support/msvc_stdlib_force_include.hpp b/libcxx/test/support/msvc_stdlib_force_include.hpp
index 6bcc9795219..e23e5fff986 100644
--- a/libcxx/test/support/msvc_stdlib_force_include.hpp
+++ b/libcxx/test/support/msvc_stdlib_force_include.hpp
@@ -81,6 +81,9 @@ const AssertionDialogAvoider assertion_dialog_avoider{};
// 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
#include <ciso646>
OpenPOWER on IntegriCloud