Remove unused identifiers.

llvm-svn: 190095
This commit is contained in:
Rui Ueyama 2013-09-05 20:21:24 +00:00
parent 9a5928036d
commit f48b8fc06d
4 changed files with 4 additions and 9 deletions

View File

@ -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
};

View File

@ -35,13 +35,12 @@
namespace {
// Create enum with OPT_xxx values for each option in DarwinLdOptions.td
enum DarwinOpt {
enum {
OPT_INVALID = 0,
#define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \
HELP, META) \
OPT_##ID,
#include "DarwinLdOptions.inc"
LastOption
#undef OPTION
};

View File

@ -33,17 +33,15 @@
using namespace lld;
namespace {
// Create enum with OPT_xxx values for each option in GnuLdOptions.td
enum GnuLdOpt {
enum {
OPT_INVALID = 0,
#define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \
HELP, META) \
OPT_##ID,
#include "GnuLdOptions.inc"
LastOption
#undef OPTION
};

View File

@ -32,13 +32,12 @@ namespace lld {
namespace {
// Create enum with OPT_xxx values for each option in WinLinkOptions.td
enum WinLinkOpt {
enum {
OPT_INVALID = 0,
#define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \
HELP, META) \
OPT_##ID,
#include "WinLinkOptions.inc"
LastOption
#undef OPTION
};