diff options
author | James Molloy <james.molloy@arm.com> | 2012-02-28 18:23:49 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2012-02-28 18:23:49 +0000 |
commit | bf359c9683fd56260d6860c7d1a8abc26a190a2b (patch) | |
tree | c89266ea227d0e5121ee6d5e2e821fb42039e622 /lib/Sema/SemaDecl.cpp | |
parent | fbcf0405b7da1c8606e4223b4f91835643ecd5b4 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151641 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 3a842ab500..41477a49c8 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -7244,7 +7244,7 @@ Decl *Sema::ActOnStartOfFunctionDef(Scope *FnBodyScope, Decl *D) { // 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 |