Update lld to match llvm r250901. OptTable constructor now takes an ArrayRef. NFC

llvm-svn: 250904
This commit is contained in:
Craig Topper 2015-10-21 16:31:56 +00:00
parent 2f6e21e76d
commit f88d22970d
6 changed files with 6 additions and 6 deletions

View File

@ -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.

View File

@ -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.

View File

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

View File

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

View 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

View File

@ -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 {