================
@@ -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);
----------------
bolshakov-a wrote:
No, it is for value-initialization of parts of an aggregate skipped in its
(i.e. outer) init-list. Explicitly written init-lists are handled in
`ActOnInitList`.
https://github.com/llvm/llvm-project/pull/195175
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits