[cfe-commits] r151641 - /cfe/trunk/lib/Sema/SemaDecl.cpp
James Molloy
james.molloy at arm.com
Tue Feb 28 10:23:49 PST 2012
Author: jamesm
Date: Tue Feb 28 12:23:49 2012
New Revision: 151641
URL: http://llvm.org/viewvc/llvm-project?rev=151641&view=rev
Log:
Un-break clang based on r151638 - What was meant to be a trivial variable name change went horribly wrong and I forgot to retest afterwards.
Modified:
cfe/trunk/lib/Sema/SemaDecl.cpp
Modified: cfe/trunk/lib/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDecl.cpp?rev=151641&r1=151640&r2=151641&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Tue Feb 28 12:23:49 2012
@@ -7244,7 +7244,7 @@
// introduce them into the function scope.
if (FnBodyScope) {
for (llvm::ArrayRef<NamedDecl*>::iterator I = FD->getDeclsInPrototypeScope().begin(),
- E = FD->getDeclsInPrototypeScope().end(); I != E; ++E) {
+ E = FD->getDeclsInPrototypeScope().end(); I != E; ++I) {
NamedDecl *D = *I;
// Some of these decls (like enums) may have been pinned to the translation unit
More information about the cfe-commits
mailing list