[clang] [Clang] Implement P2843R3 - Preprocessing is never undefined (PR #192073)
Hubert Tong via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 22 09:08:32 PDT 2026
hubert-reinterpretcast wrote:
> So i think the cautious approach here is to walk back any change we made to `defined` - ie keep warning by default, which is silenced in system headers.
The behaviour sounds right, but I don't think that is an accurate description of the status quo.
Some warnings require `-pedantic` even in user code: https://godbolt.org/z/n6cjxYz19
https://github.com/llvm/llvm-project/pull/192073
More information about the cfe-commits
mailing list