summaryrefslogtreecommitdiffstats
path: root/llvm/lib/LibDriver
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2015-10-21 16:30:42 +0000
committerCraig Topper <craig.topper@gmail.com>2015-10-21 16:30:42 +0000
commit8ea2390c35ba9ac23574e4a481c8a3cd49421a49 (patch)
tree08b4bbb6434e5cf1b89daf0ca0deded80f457920 /llvm/lib/LibDriver
parentaaead3309a45e3410404a4ae64543d9744c2308e (diff)
downloadbcm5719-llvm-8ea2390c35ba9ac23574e4a481c8a3cd49421a49.tar.gz
bcm5719-llvm-8ea2390c35ba9ac23574e4a481c8a3cd49421a49.zip
[Option] Use an ArrayRef to store the Option Infos in OptTable. NFC
llvm-svn: 250901
Diffstat (limited to 'llvm/lib/LibDriver')
-rw-r--r--llvm/lib/LibDriver/LibDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LibDriver/LibDriver.cpp b/llvm/lib/LibDriver/LibDriver.cpp
index cc5c543888c..3ae54346074 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) {}
};
}
OpenPOWER on IntegriCloud