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

Ryosuke Niwa via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 16 12:55:11 PST 2026


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

Yeah... I thought about that too but that's a lot bigger refactoring than fixing this minor bug so I figured we'd go down this path for now.

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


More information about the cfe-commits mailing list