mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 16:01:05 +01:00
Define Any...DeclId aliases for brevity (#3562)
This commit is contained in:
@@ -21,10 +21,8 @@ auto HandleInterfaceIntroducer(Context& context,
|
||||
return true;
|
||||
}
|
||||
|
||||
static auto BuildInterfaceDecl(
|
||||
Context& context, Parse::NodeIdOneOf<Parse::InterfaceDeclId,
|
||||
Parse::InterfaceDefinitionStartId>
|
||||
parse_node)
|
||||
static auto BuildInterfaceDecl(Context& context,
|
||||
Parse::AnyInterfaceDeclId parse_node)
|
||||
-> std::tuple<SemIR::InterfaceId, SemIR::InstId> {
|
||||
auto name_context = context.decl_name_stack().FinishName();
|
||||
context.node_stack()
|
||||
|
||||
Reference in New Issue
Block a user