[libcxx-commits] [libcxx] 9aaba9d - [libcxx][test] Suppress complex<int> warnings when testing MSVC
Casey Carter via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jun 23 17:47:06 PDT 2022
Author: Casey Carter
Date: 2022-06-23T17:46:54-07:00
New Revision: 9aaba9d9bb4fc3648a9417820858086b14b6b73e
URL: https://github.com/llvm/llvm-project/commit/9aaba9d9bb4fc3648a9417820858086b14b6b73e
DIFF: https://github.com/llvm/llvm-project/commit/9aaba9d9bb4fc3648a9417820858086b14b6b73e.diff
LOG: [libcxx][test] Suppress complex<int> warnings when testing MSVC
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 a5ed33b3f7319..3c61f0b880b18 100644
--- a/libcxx/test/support/msvc_stdlib_force_include.h
+++ b/libcxx/test/support/msvc_stdlib_force_include.h
@@ -69,6 +69,9 @@ const AssertionDialogAvoider assertion_dialog_avoider{};
// Restore features that are removed in C++20.
#define _HAS_FEATURES_REMOVED_IN_CXX20 1
+ // Silence warnings about the unspecified complex<non-floating-point>
+ #define _SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING
+
// Silence warnings about features that are deprecated in non-default language modes.
#define _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS
#define _SILENCE_ALL_CXX20_DEPRECATION_WARNINGS
More information about the libcxx-commits
mailing list