[libcxx-commits] [libcxx] [libc++] Suppress reserved module name warning for `module std` (PR #228632)

Sharadh Rajaraman via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 9 02:18:22 PDT 2026


sharadhr 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. 

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


More information about the libcxx-commits mailing list