diff options
author | Craig Topper <craig.topper@gmail.com> | 2015-10-21 16:30:42 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2015-10-21 16:30:42 +0000 |
commit | 8ea2390c35ba9ac23574e4a481c8a3cd49421a49 (patch) | |
tree | 08b4bbb6434e5cf1b89daf0ca0deded80f457920 /llvm/lib/LibDriver/LibDriver.cpp | |
parent | aaead3309a45e3410404a4ae64543d9744c2308e (diff) | |
download | llvm-8ea2390c35ba9ac23574e4a481c8a3cd49421a49.zip llvm-8ea2390c35ba9ac23574e4a481c8a3cd49421a49.tar.gz llvm-8ea2390c35ba9ac23574e4a481c8a3cd49421a49.tar.bz2 |
[Option] Use an ArrayRef to store the Option Infos in OptTable. NFC
llvm-svn: 250901
Diffstat (limited to 'llvm/lib/LibDriver/LibDriver.cpp')
-rw-r--r-- | llvm/lib/LibDriver/LibDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LibDriver/LibDriver.cpp b/llvm/lib/LibDriver/LibDriver.cpp index cc5c543..3ae54346 100644 --- a/llvm/lib/LibDriver/LibDriver.cpp +++ b/llvm/lib/LibDriver/LibDriver.cpp @@ -51,7 +51,7 @@ static const llvm::opt::OptTable::Info infoTable[] = { class LibOptTable : public llvm::opt::OptTable { public: - LibOptTable() : OptTable(infoTable, llvm::array_lengthof(infoTable), true) {} + LibOptTable() : OptTable(infoTable, true) {} }; } |