[libcxx-commits] [libcxx] 5b14abf - [libcxx] [test] Update msvc_stdlib_force_include.h.
Stephan T. Lavavej via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jan 31 16:38:24 PST 2020
Author: Stephan T. Lavavej
Date: 2020-01-31T16:38:01-08:00
New Revision: 5b14abf0c1d0b64cbdba0c42957d55956374e5b8
URL: https://github.com/llvm/llvm-project/commit/5b14abf0c1d0b64cbdba0c42957d55956374e5b8
DIFF: https://github.com/llvm/llvm-project/commit/5b14abf0c1d0b64cbdba0c42957d55956374e5b8.diff
LOG: [libcxx] [test] Update msvc_stdlib_force_include.h.
Restore features that are removed in C++20.
Added:
Modified:
libcxx/test/support/msvc_stdlib_force_include.h
Removed:
################################################################################
diff --git a/libcxx/test/support/msvc_stdlib_force_include.h b/libcxx/test/support/msvc_stdlib_force_include.h
index e3352e52043e..fd47af4e7983 100644
--- a/libcxx/test/support/msvc_stdlib_force_include.h
+++ b/libcxx/test/support/msvc_stdlib_force_include.h
@@ -72,6 +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
+ // Restore features that are removed in C++20.
+ #define _HAS_FEATURES_REMOVED_IN_CXX20 1
+
// 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
More information about the libcxx-commits
mailing list