aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-28 22:08:58 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-28 22:08:58 +0000
commitb706d9027cd8bbbaffa8b359a501cba52ace4c09 (patch)
tree388b276fe33973f804c4aa8b187cd1eb44bafe23
parentd1a8d2ef757ad880d48b2249a1619bf8209e9cf8 (diff)
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
-rw-r--r--lib/Sema/SemaStmtAsm.cpp4
1 files changed, 2 insertions, 2 deletions
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;