================
@@ -640,7 +641,8 @@ ExprResult InitListChecker::PerformEmptyInit(SourceLocation 
Loc,
     // the initializer list where possible.
     InitExpr = VerifyOnly ? &DummyInitList
                           : new (SemaRef.Context)
-                                InitListExpr(SemaRef.Context, Loc, {}, Loc);
+                                InitListExpr(SemaRef.Context, Loc, {}, Loc,
+                                             /*isExplicit=*/false);
----------------
AaronBallman wrote:

Isn't this an explicit init list (it's empty, so I thought we're in the `{}` 
case)?

https://github.com/llvm/llvm-project/pull/195175
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to