From: James Molloy Date: Tue, 28 Feb 2012 18:23:49 +0000 (+0000) Subject: Un-break clang based on r151638 - What was meant to be a trivial variable name change... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bf359c9683fd56260d6860c7d1a8abc26a190a2b;p=clang 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 --- 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::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