[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
Fri Oct 16 04:32:38 PDT 2026
philnik777 wrote:
> Thank you.
>
> I realise what is going on here, and I think @philnik777 and I may be talking past each other here: this patch addresses not the LLVM developer experience, but the _user_ experience of (pre-)building `module std` as supplied in their LLVM distribution of choice. To reiterate: currently, this emits a warning, which should not happen. As an analogue: it is akin to raising `Wreserved-identifier` from _within_ `<vector>` when consumers write `#include <vector>`.
I don't think we did. You're building a part of libc++ in a way we don't support AFAICT. I don't know too much about modules, but I don't think you're ever supposed to compile the modules manually unless you're doing some low level shenanigans, at which point IMO it's totally fair to require you to pass funky flags.
https://github.com/llvm/llvm-project/pull/228632
More information about the libcxx-commits
mailing list