Remove ExternDecl and ExternType (#3909)

These should no longer be helpful under the new `extern` strategy.
This commit is contained in:
Jon Ross-Perkins
2024-04-24 21:16:46 +00:00
committed by GitHub
parent de4c32beb5
commit 377262d358
16 changed files with 179 additions and 235 deletions
-2
View File
@@ -118,8 +118,6 @@ static auto BuildFunctionDecl(Context& context,
auto function_decl = SemIR::FunctionDecl{
context.GetBuiltinType(SemIR::BuiltinKind::FunctionType),
SemIR::FunctionId::Invalid, decl_block_id};
// TODO: Should Function replace is_extern with ExternDecl, similar to
// ClassDecl?
auto function_info = SemIR::Function{
.name_id = name_context.name_id_for_new_inst(),
.enclosing_scope_id = name_context.enclosing_scope_id_for_new_inst(),