diff options
Diffstat (limited to 'src/entity.cpp')
| -rw-r--r-- | src/entity.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/entity.cpp b/src/entity.cpp index b83732c1c..2c0b99931 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -12,7 +12,6 @@ struct DeclInfo; ENTITY_KIND(Procedure) \ ENTITY_KIND(ProcGroup) \ ENTITY_KIND(Builtin) \ - ENTITY_KIND(Alias) \ ENTITY_KIND(ImportName) \ ENTITY_KIND(LibraryName) \ ENTITY_KIND(Nil) \ @@ -120,9 +119,6 @@ struct Entity { i32 id; } Builtin; struct { - Entity *base; - } Alias; - struct { String path; String name; Scope *scope; @@ -271,12 +267,6 @@ Entity *alloc_entity_builtin(Scope *scope, Token token, Type *type, i32 id) { return entity; } -Entity *alloc_entity_alias(Scope *scope, Token token, Type *type, Entity *base) { - Entity *entity = alloc_entity(Entity_Alias, scope, token, type); - entity->Alias.base = base; - return entity; -} - Entity *alloc_entity_import_name(Scope *scope, Token token, Type *type, String path, String name, Scope *import_scope) { Entity *entity = alloc_entity(Entity_ImportName, scope, token, type); |