Define Any...DeclId aliases for brevity (#3562)

This commit is contained in:
josh11b authored and GitHub committed 2024-01-04 00:03:44 +00:00
1 parent e94e0f155a
commit 770876bbcb
5 files changed
+18 -21

No files matched your search

+2 -4
View File
@@ -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()