summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaStmtAsm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Sema/SemaStmtAsm.cpp')
-rw-r--r--clang/lib/Sema/SemaStmtAsm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaStmtAsm.cpp b/clang/lib/Sema/SemaStmtAsm.cpp
index a789d5945e5..14ea70b2924 100644
--- a/clang/lib/Sema/SemaStmtAsm.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud