[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
Fri Oct 30 07:49:00 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
----------------
Maoyao233 wrote:

done.

https://github.com/llvm/llvm-project/pull/237067


More information about the cfe-commits mailing list