[Option] Use an ArrayRef to store the Option Infos in OptTable. NFC
[oota-llvm.git] / unittests / Option / OptionParsingTest.cpp
index 55cf8a95f35e7712a66a67afc139b11286f3656c..5270dc940f9624618d244e79763dcf2ce8026020 100644 (file)
@@ -48,7 +48,7 @@ namespace {
 class TestOptTable : public OptTable {
 public:
   TestOptTable(bool IgnoreCase = false)
-    : OptTable(InfoTable, array_lengthof(InfoTable), IgnoreCase) {}
+    : OptTable(InfoTable, IgnoreCase) {}
 };
 }