r250903 - Update clang to match llvm r250901. OptTable constructor now takes an ArrayRef. NFC
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 21 09:31:33 PDT 2015
Author: ctopper
Date: Wed Oct 21 11:31:33 2015
New Revision: 250903
URL: http://llvm.org/viewvc/llvm-project?rev=250903&view=rev
Log:
Update clang to match llvm r250901. OptTable constructor now takes an ArrayRef. NFC
Modified:
cfe/trunk/lib/Driver/DriverOptions.cpp
Modified: cfe/trunk/lib/Driver/DriverOptions.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/DriverOptions.cpp?rev=250903&r1=250902&r2=250903&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/DriverOptions.cpp (original)
+++ cfe/trunk/lib/Driver/DriverOptions.cpp Wed Oct 21 11:31:33 2015
@@ -34,7 +34,7 @@ namespace {
class DriverOptTable : public OptTable {
public:
DriverOptTable()
- : OptTable(InfoTable, llvm::array_lengthof(InfoTable)) {}
+ : OptTable(InfoTable) {}
};
}
More information about the cfe-commits
mailing list