Rename a parameter to avoid confusion with a local variable
authorMatt Beaumont-Gay <matthewbg@google.com>
Wed, 10 Nov 2010 00:08:58 +0000 (00:08 +0000)
committerMatt Beaumont-Gay <matthewbg@google.com>
Wed, 10 Nov 2010 00:08:58 +0000 (00:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118656 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/AsmParser/ARMAsmParser.cpp

index dc5a4170595956c25870c2c0fdef6c0149aeefdc..65f0ad4bb5033e8779a62a19493718f9914ffbf7 100644 (file)
@@ -326,15 +326,15 @@ public:
 
   static ARMOperand *
   CreateRegList(const SmallVectorImpl<std::pair<unsigned, SMLoc> > &Regs,
-                SMLoc S, SMLoc E) {
+                SMLoc StartLoc, SMLoc EndLoc) {
     ARMOperand *Op = new ARMOperand(RegisterList);
     Op->RegList.Registers = new SmallVector<unsigned, 32>();
     for (SmallVectorImpl<std::pair<unsigned, SMLoc> >::const_iterator
            I = Regs.begin(), E = Regs.end(); I != E; ++I)
       Op->RegList.Registers->push_back(I->first);
     std::sort(Op->RegList.Registers->begin(), Op->RegList.Registers->end());
-    Op->StartLoc = S;
-    Op->EndLoc = E;
+    Op->StartLoc = StartLoc;
+    Op->EndLoc = EndLoc;
     return Op;
   }