[libcxx-commits] [libcxx] [libcxx] changes `__is_allocator` from a struct to a variable or concept (PR #68629)

Christopher Di Bella via libcxx-commits libcxx-commits at lists.llvm.org
Mon Oct 16 10:54:05 PDT 2023


================
@@ -57,6 +57,8 @@
     # Disable warnings for extensions used in C++03
     "-Wno-local-type-template-args",
     "-Wno-c++11-extensions",
+    "-Wno-c++14-extensions",
+    "-Wno-c++17-extensions",
----------------
cjdb wrote:

`-isystem` suppresses warnings for the headers it pulls in, so warnings will be suppressed unless we're exposing things via macros (which we aren't currently doing). I certainly wouldn't consider any non-macro exposure of a warning from `-isystem` to be a libc++ bug.

Having said that, this is the sort of test that Clang may want to pass on to libraries to detect. @AaronBallman, any insight here?

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


More information about the libcxx-commits mailing list