summaryrefslogtreecommitdiffstats
path: root/lld/lib/Driver/CoreDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/Driver/CoreDriver.cpp')
-rw-r--r--lld/lib/Driver/CoreDriver.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lld/lib/Driver/CoreDriver.cpp b/lld/lib/Driver/CoreDriver.cpp
index 78c25da3593..6d5e8a0a106 100644
--- a/lld/lib/Driver/CoreDriver.cpp
+++ b/lld/lib/Driver/CoreDriver.cpp
@@ -31,13 +31,12 @@ using namespace lld;
namespace {
// Create enum with OPT_xxx values for each option in DarwinOptions.td
-enum CoreOpt {
+enum {
OPT_INVALID = 0,
#define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \
HELP, META) \
OPT_##ID,
#include "CoreOptions.inc"
- LastOption
#undef OPTION
};
OpenPOWER on IntegriCloud