[clang] [clang-tools-extra] [clang][AST] Visit lambda bodies whose call operator is not a definition (PR #237067)
Zeyi Xu via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 30 06:53:50 PDT 2026
================
@@ -2897,6 +2897,19 @@ DEF_TRAVERSE_STMT(LambdaExpr, {
if (getDerived().shouldVisitImplicitCode()) {
// The implicit model is simple: everything else is in the lambda class.
TRY_TO(TraverseDecl(S->getLambdaClass()));
+
+ // The body is normally reached through the call operator of the closure
----------------
zeyi2 wrote:
Same as above: could we shorten this comment?
https://github.com/llvm/llvm-project/pull/237067
More information about the cfe-commits
mailing list