efriedma-quic wrote: For the one in TreeTransform.h, only pushing the context if we have a variably modified type seems really confusing... I don't know if we can even reliably tell we have a variably modified type at that point. But we can measure if it's actually causing an issue.
For the other bits, adding more early isVariablyModifiedType() checks to the callers makes sense. (But watch out for the "auto isn't variably modified" thing.) https://github.com/llvm/llvm-project/pull/229697 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
