Sirraide wrote: > I guess it might make sense to create the `ConstantExpr` in any case, even > for a `None` `APValue`?
The comment above `ConstantFoldAttrArgs` seems to suggest that that’s what’s supposed to happen if the expression isn’t dependent—I don’t know if there’s any code that depends on that, though. https://github.com/llvm/llvm-project/pull/105789 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits