summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-03-18 02:37:59 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-03-18 02:37:59 +0000
commit7fcb35f5e159e34fe349e92cf5f703b306e029e7 (patch)
tree7c93cf945d5b4ca08f0eeb3fbc7526f239cb8221
parent0aa1aa2e9dcc0112e8db5a7e3a123ddcbf03cc28 (diff)
downloadbcm5719-llvm-7fcb35f5e159e34fe349e92cf5f703b306e029e7.tar.gz
bcm5719-llvm-7fcb35f5e159e34fe349e92cf5f703b306e029e7.zip
More working around a GCC range-based for scope bug.
llvm-svn: 204108
-rw-r--r--clang/lib/AST/ASTDumper.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/AST/ASTDumper.cpp b/clang/lib/AST/ASTDumper.cpp
index b4cdcea8323..eb5a7d3b05d 100644
--- a/clang/lib/AST/ASTDumper.cpp
+++ b/clang/lib/AST/ASTDumper.cpp
@@ -1351,8 +1351,8 @@ void ASTDumper::VisitObjCProtocolDecl(const ObjCProtocolDecl *D) {
dumpName(D);
ChildDumper Children(*this);
- for (auto *D : D->protocols())
- Children.dumpRef(D);
+ for (auto *Child : D->protocols())
+ Children.dumpRef(Child);
}
void ASTDumper::VisitObjCInterfaceDecl(const ObjCInterfaceDecl *D) {
@@ -1361,8 +1361,8 @@ void ASTDumper::VisitObjCInterfaceDecl(const ObjCInterfaceDecl *D) {
ChildDumper Children(*this);
Children.dumpRef(D->getImplementation());
- for (auto *D : D->protocols())
- Children.dumpRef(D);
+ for (auto *Child : D->protocols())
+ Children.dumpRef(Child);
}
void ASTDumper::VisitObjCImplementationDecl(const ObjCImplementationDecl *D) {
OpenPOWER on IntegriCloud