[clang] [Analyzer] support parenthesized list initialization (PR #148988)
Oleksandr T. via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 16 06:58:01 PDT 2025
================
@@ -1233,3 +1233,34 @@ void ExprEngine::VisitAttributedStmt(const AttributedStmt *A,
getCheckerManager().runCheckersForPostStmt(Dst, EvalSet, A, *this);
}
+
+void ExprEngine::VisitCXXParenListInitExpr(const CXXParenListInitExpr *E,
+ ExplodedNode *Pred,
+ ExplodedNodeSet &Dst) {
----------------
a-tarasyuk wrote:
Although feasible, the inconsistent handling of argument lists and compound types adds unnecessary complexity. It’s still worth considering as a future improvement. Probably would be better to keep it out of this issue to avoid extra changes. @steakhal @necto WDYT?
https://github.com/llvm/llvm-project/pull/148988
More information about the cfe-commits
mailing list