[lld] r265239 - Variable names should start with uppercase letters.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 2 12:15:26 PDT 2016


Author: ruiu
Date: Sat Apr  2 14:15:26 2016
New Revision: 265239

URL: http://llvm.org/viewvc/llvm-project?rev=265239&view=rev
Log:
Variable names should start with uppercase letters.

Modified:
    lld/trunk/ELF/DriverUtils.cpp

Modified: lld/trunk/ELF/DriverUtils.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/DriverUtils.cpp?rev=265239&r1=265238&r2=265239&view=diff
==============================================================================
--- lld/trunk/ELF/DriverUtils.cpp (original)
+++ lld/trunk/ELF/DriverUtils.cpp Sat Apr  2 14:15:26 2016
@@ -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) {




More information about the llvm-commits mailing list