[cfe-commits] r162797 - /cfe/trunk/lib/Sema/SemaStmtAsm.cpp

Chad Rosier mcrosier at apple.com
Tue Aug 28 15:08:58 PDT 2012


Author: mcrosier
Date: Tue Aug 28 17:08:58 2012
New Revision: 162797

URL: http://llvm.org/viewvc/llvm-project?rev=162797&view=rev
Log:
Revert r162424 now that the scoping issue has been fixed in r162444.

Modified:
    cfe/trunk/lib/Sema/SemaStmtAsm.cpp

Modified: cfe/trunk/lib/Sema/SemaStmtAsm.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaStmtAsm.cpp?rev=162797&r1=162796&r2=162797&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaStmtAsm.cpp (original)
+++ cfe/trunk/lib/Sema/SemaStmtAsm.cpp Tue Aug 28 17:08:58 2012
@@ -538,8 +538,8 @@
 
     // 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;





More information about the cfe-commits mailing list