[clang] [clang] reject initializing constexpr objects with compound literals that contain non-null pointers (PR #230477)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 5 21:53:56 PST 2026
https://github.com/ojhunt requested changes to this pull request.
I think this needs an override LangOpt - it seems plausible that there could be existing code that expects constant initializers to permit global symbol addresses, though constexpr is moderately new?
@AaronBallman any thoughts?
https://github.com/llvm/llvm-project/pull/230477
More information about the cfe-commits
mailing list