summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaStmtAsm.cpp
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2012-08-23 01:51:18 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2012-08-23 01:51:18 +0000
commit1e774bc8350f17557493af21ea1c4dc90543c902 (patch)
treebf044dc3cd80efbc8d44a5e2eed1281150a9f954 /clang/lib/Sema/SemaStmtAsm.cpp
parentc2ce00418c8efd88fc1515610dc6d895bc38b0d9 (diff)
downloadbcm5719-llvm-1e774bc8350f17557493af21ea1c4dc90543c902.tar.gz
bcm5719-llvm-1e774bc8350f17557493af21ea1c4dc90543c902.zip
Don't recycle loop variables (to keep GCC happy).
llvm-svn: 162424
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 ed7f6ef1c7c..1293b7daefb 100644
--- a/clang/lib/Sema/SemaStmtAsm.cpp
+++ b/clang/lib/Sema/SemaStmtAsm.cpp
@@ -533,8 +533,8 @@ StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc,
// Canonicalize the opcode to lower case.
SmallString<128> Opcode;
- for (unsigned i = 0, e = IDVal.size(); i != e; ++i)
- Opcode.push_back(tolower(IDVal[i]));
+ for (unsigned j = 0, e = IDVal.size(); j != e; ++j)
+ Opcode.push_back(tolower(IDVal[j]));
// Parse the operands.
llvm::SMLoc IDLoc;
OpenPOWER on IntegriCloud