aalmkainzi wrote: the problem is compound literal is its own object. so it evals itself and doesn't consider where it is (other than file scope)...
I think my initial solution is ok? The constexpr evaluator checks it later. https://github.com/llvm/llvm-project/pull/232825 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
