mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 03:50:28 +00:00
Consolidate caller match in one function call (#4446)
Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
This commit is contained in:
1 parent
89eed4220f
commit
e20e8bfbea
61 files changed
+459
-495
No files matched your search
@@ -236,7 +236,8 @@ static auto BuildFunctionDecl(Context& context,
|
||||
auto function_info =
|
||||
SemIR::Function{{name_context.MakeEntityWithParamsBase(
|
||||
name, decl_id, is_extern, introducer.extern_library)},
|
||||
{.return_slot_id = name.return_slot_id,
|
||||
{.return_slot_pattern_id = name.return_slot_pattern_id,
|
||||
.return_slot_id = name.return_slot_id,
|
||||
.virtual_modifier = virtual_modifier}};
|
||||
if (is_definition) {
|
||||
function_info.definition_id = decl_id;
|
||||
|
||||
Reference in new issue
Block a user