[clang] [WebKit Checkers] Trivial analysis should check destructors of function parameters and local variables (PR #181576)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 16 13:19:04 PST 2026


================
@@ -731,6 +786,10 @@ class TrivialFunctionAnalysisVisitor
     return true;
   }
 
+  bool VisitCXXDefaultInitExpr(const CXXDefaultInitExpr *E) {
+    return Visit(E->getExpr());
+  }
----------------
steakhal wrote:

yes I know, and that's fine. But I'm sure the time we transition to the visitor, we gonna squash some bugs.

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


More information about the cfe-commits mailing list