projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Option] Use an ArrayRef to store the Option Infos in OptTable. NFC
[oota-llvm.git]
/
lib
/
LibDriver
/
LibDriver.cpp
diff --git
a/lib/LibDriver/LibDriver.cpp
b/lib/LibDriver/LibDriver.cpp
index cc5c543888c3039e1db6e195413d0f3626ffd0de..3ae5434607453d2f0c0a23dd301d1150532f4dcf 100644
(file)
--- a/
lib/LibDriver/LibDriver.cpp
+++ b/
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) {}
};
}