]> granicus.if.org Git - clang/commitdiff
Update clang to match llvm r250901. OptTable constructor now takes an ArrayRef. NFC
authorCraig Topper <craig.topper@gmail.com>
Wed, 21 Oct 2015 16:31:33 +0000 (16:31 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 21 Oct 2015 16:31:33 +0000 (16:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@250903 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/DriverOptions.cpp

index 6ff1cbafb3bcf4d7e7d06a252853cd6a01aeb08f..8d5332b5cc24ca7f8fccbd7e4edeb86870091d32 100644 (file)
@@ -34,7 +34,7 @@ namespace {
 class DriverOptTable : public OptTable {
 public:
   DriverOptTable()
-    : OptTable(InfoTable, llvm::array_lengthof(InfoTable)) {}
+    : OptTable(InfoTable) {}
 };
 
 }