================
@@ -2464,6 +2464,10 @@ CFGBlock
*CFGBuilder::VisitCXXDefaultInitExpr(CXXDefaultInitExpr *Init,
autoCreateBlock();
appendStmt(Block, Init);
}
+
+ // Unlike CXXDefaultArgExpr::getExpr stripped off the top level FullExpr
and
+ // ConstantExpr, CXXDefaultInitExpr::getExpr does not do this, so we don't
+ // need to ignore ParenExprs, because the top level will not be a
ParenExpr.
----------------
yronglin wrote:
Oh sorry, I missed some changes.
https://github.com/llvm/llvm-project/pull/127338
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits