forked from OSchip/llvm-project
Update lld to match llvm r250901. OptTable constructor now takes an ArrayRef. NFC
llvm-svn: 250904
This commit is contained in:
parent
2f6e21e76d
commit
f88d22970d
|
@ -646,7 +646,7 @@ static const llvm::opt::OptTable::Info infoTable[] = {
|
|||
|
||||
class COFFOptTable : public llvm::opt::OptTable {
|
||||
public:
|
||||
COFFOptTable() : OptTable(infoTable, llvm::array_lengthof(infoTable), true) {}
|
||||
COFFOptTable() : OptTable(infoTable, true) {}
|
||||
};
|
||||
|
||||
// Parses a given list of options.
|
||||
|
|
|
@ -47,7 +47,7 @@ static const opt::OptTable::Info infoTable[] = {
|
|||
|
||||
class ELFOptTable : public opt::OptTable {
|
||||
public:
|
||||
ELFOptTable() : OptTable(infoTable, array_lengthof(infoTable)) {}
|
||||
ELFOptTable() : OptTable(infoTable) {}
|
||||
};
|
||||
|
||||
// Parses a given list of options.
|
||||
|
|
|
@ -56,7 +56,7 @@ static const llvm::opt::OptTable::Info infoTable[] = {
|
|||
// Create OptTable class for parsing actual command line arguments
|
||||
class CoreOptTable : public llvm::opt::OptTable {
|
||||
public:
|
||||
CoreOptTable() : OptTable(infoTable, llvm::array_lengthof(infoTable)){}
|
||||
CoreOptTable() : OptTable(infoTable) {}
|
||||
};
|
||||
|
||||
} // namespace anonymous
|
||||
|
|
|
@ -69,7 +69,7 @@ static const llvm::opt::OptTable::Info infoTable[] = {
|
|||
// Create OptTable class for parsing actual command line arguments
|
||||
class DarwinLdOptTable : public llvm::opt::OptTable {
|
||||
public:
|
||||
DarwinLdOptTable() : OptTable(infoTable, llvm::array_lengthof(infoTable)){}
|
||||
DarwinLdOptTable() : OptTable(infoTable) {}
|
||||
};
|
||||
|
||||
std::vector<std::unique_ptr<File>>
|
||||
|
|
|
@ -72,7 +72,7 @@ static const llvm::opt::OptTable::Info infoTable[] = {
|
|||
// Create OptTable class for parsing actual command line arguments
|
||||
class GnuLdOptTable : public llvm::opt::OptTable {
|
||||
public:
|
||||
GnuLdOptTable() : OptTable(infoTable, llvm::array_lengthof(infoTable)){}
|
||||
GnuLdOptTable() : OptTable(infoTable){}
|
||||
};
|
||||
|
||||
} // anonymous namespace
|
||||
|
|
|
@ -63,7 +63,7 @@ static const llvm::opt::OptTable::Info infoTable[] = {
|
|||
class UniversalDriverOptTable : public llvm::opt::OptTable {
|
||||
public:
|
||||
UniversalDriverOptTable()
|
||||
: OptTable(infoTable, llvm::array_lengthof(infoTable)) {}
|
||||
: OptTable(infoTable) {}
|
||||
};
|
||||
|
||||
enum class Flavor {
|
||||
|
|
Loading…
Reference in New Issue