================
@@ -2160,6 +2160,11 @@ ExprResult Sema::BuildCXXNew(SourceRange Range, bool
UseGlobal,
"paren init for non-call init");
Exprs = MultiExprArg(List->getExprs(), List->getNumExprs());
}
+ if (auto *List = dyn_cast_or_null<CXXParenListInitExpr>(Initializer)) {
----------------
erichkeane wrote:
```suggestion
else if (auto *List = dyn_cast_or_null<CXXParenListInitExpr>(Initializer)) {
```
https://github.com/llvm/llvm-project/pull/142988
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits