[clang] [Analyzer][CFG] Correctly handle rebuilt default arg and default init expression (PR #91879)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Tue May 14 02:55:53 PDT 2024


================
@@ -1964,39 +1964,55 @@ void ExprEngine::Visit(const Stmt *S, ExplodedNode *Pred,
     case Stmt::CXXDefaultArgExprClass:
     case Stmt::CXXDefaultInitExprClass: {
       Bldr.takeNodes(Pred);
-      ExplodedNodeSet PreVisit;
-      getCheckerManager().runCheckersForPreStmt(PreVisit, Pred, S, *this);
+      ExplodedNodeSet CheckedSet;
----------------
steakhal wrote:

I think I'd prefer the old name here. That is how one would find these in the other places.

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


More information about the cfe-commits mailing list