Skip to content

Commit

Permalink
denum.d: remove unused imports (#16102)
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright authored Jan 28, 2024
1 parent 737d7bd commit 4126e69
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions compiler/src/dmd/denum.d
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,16 @@ import core.stdc.stdio;

import dmd.astenums;
import dmd.attrib;
import dmd.errors;
import dmd.gluelayer;
import dmd.declaration;
import dmd.dscope;
import dmd.dsymbol;
import dmd.dsymbolsem;
import dmd.expression;
import dmd.id;
import dmd.identifier;
import dmd.init;
import dmd.location;
import dmd.mtype;
import dmd.typesem;
import dmd.visitor;

/***********************************************************
Expand Down Expand Up @@ -66,6 +63,8 @@ extern (C++) final class EnumDeclaration : ScopeDsymbol
import dmd.common.bitfields : generateBitFields;
mixin(generateBitFields!(BitFields, ubyte));

Symbol* sinit;

extern (D) this(const ref Loc loc, Identifier ident, Type memtype)
{
super(loc, ident);
Expand Down Expand Up @@ -127,8 +126,6 @@ extern (C++) final class EnumDeclaration : ScopeDsymbol
return this;
}

Symbol* sinit;

override void accept(Visitor v)
{
v.visit(this);
Expand Down

0 comments on commit 4126e69

Please sign in to comment.