From: Craig Topper Date: Wed, 21 Oct 2015 16:31:33 +0000 (+0000) Subject: Update clang to match llvm r250901. OptTable constructor now takes an ArrayRef. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3bd5b9d46192369ff83926fbbac3adbf206db93f;p=clang Update clang to match llvm r250901. OptTable constructor now takes an ArrayRef. NFC git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@250903 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/DriverOptions.cpp b/lib/Driver/DriverOptions.cpp index 6ff1cbafb3..8d5332b5cc 100644 --- a/lib/Driver/DriverOptions.cpp +++ b/lib/Driver/DriverOptions.cpp @@ -34,7 +34,7 @@ namespace { class DriverOptTable : public OptTable { public: DriverOptTable() - : OptTable(InfoTable, llvm::array_lengthof(InfoTable)) {} + : OptTable(InfoTable) {} }; }