[llvm] c835b5c - [NFC][TableGen] Fix some clang-tidy warnings

Daniel Grumberg via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 18 10:31:33 PDT 2020


Author: Daniel Grumberg
Date: 2020-06-18T18:30:49+01:00
New Revision: c835b5cc1df6833febff3ffd887518e26beae397

URL: https://github.com/llvm/llvm-project/commit/c835b5cc1df6833febff3ffd887518e26beae397
DIFF: https://github.com/llvm/llvm-project/commit/c835b5cc1df6833febff3ffd887518e26beae397.diff

LOG: [NFC][TableGen] Fix some clang-tidy warnings

Added: 
    

Modified: 
    llvm/utils/TableGen/OptParserEmitter.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/utils/TableGen/OptParserEmitter.cpp b/llvm/utils/TableGen/OptParserEmitter.cpp
index be9e95a853dc..92346ab9b111 100644
--- a/llvm/utils/TableGen/OptParserEmitter.cpp
+++ b/llvm/utils/TableGen/OptParserEmitter.cpp
@@ -135,8 +135,8 @@ void EmitOptParser(RecordKeeper &Records, raw_ostream &OS) {
 
   OS << "//////////\n";
   OS << "// Options\n\n";
-  for (unsigned i = 0, e = Opts.size(); i != e; ++i) {
-    const Record &R = *Opts[i];
+  for (unsigned I = 0, E = Opts.size(); I != E; ++I) {
+    const Record &R = *Opts[I];
 
     // Start a single option entry.
     OS << "OPTION(";


        


More information about the llvm-commits mailing list