================ @@ -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. ---------------- steakhal wrote:
>From the PR summary, I was expecting a semantic fix to the reapplied commit. This commit only adds some comments. Did I miss something? https://github.com/llvm/llvm-project/pull/127338 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits