================
@@ -521,16 +521,40 @@ ExprResult Parser::ParseExpansionInitList() {
T.consumeOpen();
ExprVector InitExprs;
+ bool SawError = false;
+ while (Tok.isNot(tok::r_brace)) {
+ ExprResult Elem = Tok.is(tok::l_brace) ? ParseBraceInitializer()
----------------
Sirraide wrote:
I believe you’d have to push the expression evaluation context for each element
here when we parse it
https://github.com/llvm/llvm-project/pull/218710
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits