[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 12:31:14 PST 2026
================
@@ -731,6 +786,10 @@ class TrivialFunctionAnalysisVisitor
return true;
}
+ bool VisitCXXDefaultInitExpr(const CXXDefaultInitExpr *E) {
+ return Visit(E->getExpr());
+ }
----------------
steakhal wrote:
Ah, this is painful. So we need to add manual transitions to "mimic" a recursive AST visitor.
This makes me wonder if we should have used that instead of a StmtVisitor. WDYT?
I'll try to just close my eyes -.-
https://github.com/llvm/llvm-project/pull/181576
More information about the cfe-commits
mailing list