Remove ExternDecl and ExternType (#3909)

These should no longer be helpful under the new `extern` strategy.
This commit is contained in:
Jon Ross-Perkins authored and GitHub committed 2024-04-24 21:16:46 +00:00
1 parent de4c32beb5
commit 377262d358
16 files changed
+179 -235

No files matched your search

-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(),