[cfe-commits] r91891 - /cfe/trunk/lib/Frontend/RewriteObjC.cpp
Anders Carlsson
andersca at mac.com
Mon Dec 21 22:13:42 PST 2009
Author: andersca
Date: Tue Dec 22 00:13:42 2009
New Revision: 91891
URL: http://llvm.org/viewvc/llvm-project?rev=91891&view=rev
Log:
Work around PR5514.
Modified:
cfe/trunk/lib/Frontend/RewriteObjC.cpp
Modified: cfe/trunk/lib/Frontend/RewriteObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/RewriteObjC.cpp?rev=91891&r1=91890&r2=91891&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/RewriteObjC.cpp (original)
+++ cfe/trunk/lib/Frontend/RewriteObjC.cpp Tue Dec 22 00:13:42 2009
@@ -4509,7 +4509,8 @@
Stmts.push_back(S);
else if (isa<ObjCForCollectionStmt>(S)) {
Stmts.push_back(S);
- ObjCBcLabelNo.push_back(++BcLabelCount);
+ ++BcLabelCount;
+ ObjCBcLabelNo.push_back(BcLabelCount);
}
SourceRange OrigStmtRange = S->getSourceRange();
More information about the cfe-commits
mailing list