[clang] Reapply [Clang] Implement P2843R3 - Preprocessing is never undefined (PR #196989)

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Wed May 20 05:55:55 PDT 2026


zmodem wrote:

That makes sense, thanks for explaining.

These do seem pretty pedantic (at least pre-C++26 where they were UB rather than ill-formed), so I'm not sure enabling them by default is the right choice, though I don't feel strongly either way.

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


More information about the cfe-commits mailing list