[libcxx-commits] [libcxx] [libc++] Suppress reserved module name warning for `module std` (PR #228632)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Oct 13 02:22:39 PDT 2026
philnik777 wrote:
> > Maybe we want to diagnose "fake" (user-hacked) `std` modules without affecting real (implementation-provided) ones.
>
> Precisely. Doing that within Clang is in my view not very tractable because anyone can implement a C++ standard library. There is precedent: the three major standard library implementations are full of these workarounds and suppressions.
Are they? At least libc++ is only full of suppressions for warnings we care about, and if we don't care about a warning we disable it on the command line level instead of suppressing it in code.
https://github.com/llvm/llvm-project/pull/228632
More information about the libcxx-commits
mailing list