mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Update LLVM (#7221)
Assisted-by: Google Antigravity --------- Co-authored-by: Josh L <josh11b@users.noreply.github.com>
This commit is contained in:
@@ -587,7 +587,8 @@ static auto InventCompoundClangArg(Context& context, FormInfo form,
|
||||
auto rbrace_loc = compound_loc;
|
||||
|
||||
auto* init_list = new (context.ast_context()) clang::InitListExpr(
|
||||
context.ast_context(), lbrace_loc, inits, rbrace_loc);
|
||||
context.ast_context(), lbrace_loc, inits, rbrace_loc,
|
||||
/* isExplicit= */ true);
|
||||
init_list->setType(context.ast_context().VoidTy);
|
||||
return init_list;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user