[clang] [Clang] [C++26] Iterating expansion statements using string injection (PR #208877)
Ambrose Leeb via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 4 10:22:19 PDT 2026
Sirraide wrote:
> s this code valid? i tried gcc and it works but it fails on clang and with Sirraide's string-injection branch. Can you look at it?
Afaik Clang has some issues with references to non-`static` constexpr variables (or maybe it was the standard?), either way, I think what you’re seeing here is a result of that and it’s an issue w/ the constant evaluator, but I don’t remember the specifics
https://github.com/llvm/llvm-project/pull/208877
More information about the cfe-commits
mailing list