Maoyao233 wrote: For reference, I was able to construct a bug in ASTMatcher with the same root cause: because RAV misses lambda bodies, ASTMatcher's `hasDescendant`/`forEachDescendant` cannot reach them, so it silently produces unexpected results. Of course, it could use the same approach as this PR as a workaround. I’m not sure about its severity or impact. Should I open a separate follow-up issue to discuss it?
https://github.com/llvm/llvm-project/pull/237067 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
