Skip to content

Commit

Permalink
Remove unused PASSenum from header (#16948)
Browse files Browse the repository at this point in the history
LDC and GDC use the `enum class`.
  • Loading branch information
thewilsonator authored Oct 6, 2024
1 parent 08ffd15 commit cad4e87
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions compiler/src/dmd/dsymbol.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,20 +139,6 @@ enum class PASS : uint8_t
obj // toObjFile() run
};

enum
{
PASSinit, // initial state
PASSsemantic, // semantic() started
PASSsemanticdone, // semantic() done
PASSsemantic2, // semantic2() started
PASSsemantic2done, // semantic2() done
PASSsemantic3, // semantic3() started
PASSsemantic3done, // semantic3() done
PASSinline, // inline started
PASSinlinedone, // inline done
PASSobj // toObjFile() run
};

/* Flags for symbol search
*/
typedef unsigned SearchOptFlags;
Expand Down

0 comments on commit cad4e87

Please sign in to comment.