[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
This commit is contained in:
Stephan T. Lavavej 2017-06-06 02:46:12 +00:00
parent 9d6f08a8d4
commit a651f73a79
1 changed files with 3 additions and 0 deletions

View File

@ -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>