[libcxx] [llvm] [libc++] Deprecate and remove meaningless `<cxxx>` headers (PR #111615)

Nikolas Klauser via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 22 13:36:03 PDT 2024


================
@@ -23,4 +23,12 @@
 #  pragma GCC system_header
 #endif
 
+#if _LIBCPP_STD_VER >= 17 && defined(__DEPRECATED) && __DEPRECATED && !defined(_LIBCPP_DISABLE_DEPRECATION_WARNINGS)
----------------
philnik777 wrote:

I'm not sure. You can have `-Wno-deprecated -Wdeprecated-declarations`, which disables deprecation warnings but keeps `[[deprecated]]` warnings. I'm not sure it makes a ton of sense to support this weird combination either though.


https://github.com/llvm/llvm-project/pull/111615


More information about the llvm-commits mailing list