summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2012-02-28 18:23:49 +0000
committerJames Molloy <james.molloy@arm.com>2012-02-28 18:23:49 +0000
commitecd2edf50ccaaa90e68f27db5160be223cea11df (patch)
treee5e61badac5560d91132fd8c41221d6bae6a25b5 /clang/lib/Sema
parent64e2e516bc506010bdeecd8f4025a13d5be77af4 (diff)
downloadbcm5719-llvm-ecd2edf50ccaaa90e68f27db5160be223cea11df.tar.gz
bcm5719-llvm-ecd2edf50ccaaa90e68f27db5160be223cea11df.zip
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.
llvm-svn: 151641
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r--clang/lib/Sema/SemaDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index 3a842ab500f..41477a49c84 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud