forked from OSchip/llvm-project
NFC: fix ToolDrivers syntax and typo errors
infoTable -> InfoTable camelCase Libtool Options #define offset llvm-svn: 311517
This commit is contained in:
parent
ac385b7775
commit
cc82cdfffc
|
@ -41,7 +41,7 @@ enum {
|
|||
#include "Options.inc"
|
||||
#undef PREFIX
|
||||
|
||||
static const llvm::opt::OptTable::Info infoTable[] = {
|
||||
static const llvm::opt::OptTable::Info InfoTable[] = {
|
||||
#define OPTION(X1, X2, ID, KIND, GROUP, ALIAS, X7, X8, X9, X10, X11, X12) \
|
||||
{X1, X2, X10, X11, OPT_##ID, llvm::opt::Option::KIND##Class, \
|
||||
X9, X8, OPT_##GROUP, OPT_##ALIAS, X7, X12},
|
||||
|
@ -51,7 +51,7 @@ static const llvm::opt::OptTable::Info infoTable[] = {
|
|||
|
||||
class DllOptTable : public llvm::opt::OptTable {
|
||||
public:
|
||||
DllOptTable() : OptTable(infoTable, false) {}
|
||||
DllOptTable() : OptTable(InfoTable, false) {}
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
|
|
@ -40,17 +40,17 @@ enum {
|
|||
#include "Options.inc"
|
||||
#undef PREFIX
|
||||
|
||||
static const llvm::opt::OptTable::Info infoTable[] = {
|
||||
#define OPTION(X1, X2, ID, KIND, GROUP, ALIAS, X6, X7, X8, X9, X10, X11) \
|
||||
{X1, X2, X9, X10, OPT_##ID, llvm::opt::Option::KIND##Class, \
|
||||
X8, X7, OPT_##GROUP, OPT_##ALIAS, X6, X11},
|
||||
static const llvm::opt::OptTable::Info InfoTable[] = {
|
||||
#define OPTION(X1, X2, ID, KIND, GROUP, ALIAS, X7, X8, X9, X10, X11, X12) \
|
||||
{X1, X2, X10, X11, OPT_##ID, llvm::opt::Option::KIND##Class, \
|
||||
X9, X8, OPT_##GROUP, OPT_##ALIAS, X7, X12},
|
||||
#include "Options.inc"
|
||||
#undef OPTION
|
||||
};
|
||||
|
||||
class LibOptTable : public llvm::opt::OptTable {
|
||||
public:
|
||||
LibOptTable() : OptTable(infoTable, true) {}
|
||||
LibOptTable() : OptTable(InfoTable, true) {}
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue