From: Chad Rosier Date: Tue, 28 Aug 2012 22:08:58 +0000 (+0000) Subject: Revert r162424 now that the scoping issue has been fixed in r162444. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b706d9027cd8bbbaffa8b359a501cba52ace4c09;p=clang Revert r162424 now that the scoping issue has been fixed in r162444. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162797 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaStmtAsm.cpp b/lib/Sema/SemaStmtAsm.cpp index a789d5945e..14ea70b292 100644 --- a/lib/Sema/SemaStmtAsm.cpp +++ b/lib/Sema/SemaStmtAsm.cpp @@ -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;