mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-09 01:29:52 +00:00
Remove unused identifiers.
llvm-svn: 190095
This commit is contained in:
parent
9a5928036d
commit
f48b8fc06d
@ -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
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user