[libcxx] [llvm] [libc++] Deprecate and remove meaningless `<cxxx>` headers (PR #111615)
Louis Dionne via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 23 07:07:22 PDT 2024
================
@@ -23,4 +23,17 @@
# pragma GCC system_header
#endif
+#if _LIBCPP_STD_VER >= 17
+# if _LIBCPP_STD_VER >= 20
+# define _DEPRECATION_ANNOTATION _LIBCPP_DEPRECATED_("removed in C++20")
+# else
+# define _DEPRECATION_ANNOTATION _LIBCPP_DEPRECATED
+# endif
+
+using __standard_header_ccomplex _DEPRECATION_ANNOTATION = void;
+using __use_standard_header_ccomplex = __standard_header_ccomplex;
+
+# undef _DEPRECATION_ANNOTATION
+#endif
----------------
ldionne wrote:
@frederick-vs-ja Does that solve the issue with modules?
https://github.com/llvm/llvm-project/pull/111615
More information about the llvm-commits
mailing list