[clang] [clang-tools-extra] [clang][AST] Visit lambda bodies whose call operator is not a definition (PR #237067)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 31 00:24:28 PDT 2026
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
More information about the cfe-commits
mailing list