[all-commits] [llvm/llvm-project] ab65e4: [libc++] Fix disabling of extension warnings in C+...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Sat May 10 08:05:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab65e4a730d3341b268e7af19a7bbf86dea547a1
      https://github.com/llvm/llvm-project/commit/ab65e4a730d3341b268e7af19a7bbf86dea547a1
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-05-10 (Sat, 10 May 2025)

  Changed paths:
    M libcxx/include/__config

  Log Message:
  -----------
  [libc++] Fix disabling of extension warnings in C++20 and later (#134989)

`__has_feature(modules)` is always true in C++20 and later. Instead of
using that, just disable extension warnings if they're not ignored
through the system header machinery anyways.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list