Variable names should start with uppercase letters.
authorRui Ueyama <ruiu@google.com>
Sat, 2 Apr 2016 19:15:26 +0000 (19:15 +0000)
committerRui Ueyama <ruiu@google.com>
Sat, 2 Apr 2016 19:15:26 +0000 (19:15 +0000)
llvm-svn: 265239

lld/ELF/DriverUtils.cpp

index 91a63e0..949ab95 100644 (file)
@@ -35,18 +35,17 @@ using namespace lld::elf;
 #undef PREFIX
 
 // Create table mapping all options defined in Options.td
-static const opt::OptTable::Info infoTable[] = {
+static const opt::OptTable::Info OptInfo[] = {
 #define OPTION(X1, X2, ID, KIND, GROUP, ALIAS, X6, X7, X8, X9, X10)            \
   {                                                                            \
     X1, X2, X9, X10, OPT_##ID, opt::Option::KIND##Class, X8, X7, OPT_##GROUP,  \
         OPT_##ALIAS, X6                                                        \
-  }                                                                            \
-  ,
+  },
 #include "Options.inc"
 #undef OPTION
 };
 
-ELFOptTable::ELFOptTable() : OptTable(infoTable) {}
+ELFOptTable::ELFOptTable() : OptTable(OptInfo) {}
 
 // Parses a given list of options.
 opt::InputArgList ELFOptTable::parse(ArrayRef<const char *> Argv) {