keepyixiao wrote: > That's not the worst performance hit but is still pretty sizeable for > something that impacts correct code. I think it's fine to slow things down > once we already know we're going to issue a diagnostic, but this feels like > it could be a bit too much, at least to me. Can we think of some other way to > discover this information once we know we're emitting a diagnostic rather > than passing it around proactively?
Thanks for the review! I'll continue exploring alternative approaches to see if there's a way to obtain this information without introducing additional compilation-time overhead. https://github.com/llvm/llvm-project/pull/239911 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
