]> granicus.if.org Git - clang/commitdiff
Revert r162424 now that the scoping issue has been fixed in r162444.
authorChad Rosier <mcrosier@apple.com>
Tue, 28 Aug 2012 22:08:58 +0000 (22:08 +0000)
committerChad Rosier <mcrosier@apple.com>
Tue, 28 Aug 2012 22:08:58 +0000 (22:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162797 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaStmtAsm.cpp

index a789d5945e56a05d9e5c43fa8b59dbdc1dc5cc8d..14ea70b2924727f2f0532033f3b02b2e58dabd6e 100644 (file)
@@ -538,8 +538,8 @@ StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc,
 
     // Canonicalize the opcode to lower case.
     SmallString<128> Opcode;
-    for (unsigned j = 0, e = IDVal.size(); j != e; ++j)
-      Opcode.push_back(tolower(IDVal[j]));
+    for (unsigned i = 0, e = IDVal.size(); i != e; ++i)
+      Opcode.push_back(tolower(IDVal[i]));
 
     // Parse the operands.
     llvm::SMLoc IDLoc;