summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-01-05 02:57:54 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-01-05 02:57:54 +0000
commit08116a7df3a542553a845eeae0302904036133ca (patch)
tree6718eee5d784ade026d4ccb018c1c5eb6cef6701
parent6b079f5e2f303cbe24a2ef87842a50cdf831b8d7 (diff)
downloadbcm5719-llvm-08116a7df3a542553a845eeae0302904036133ca.tar.gz
bcm5719-llvm-08116a7df3a542553a845eeae0302904036133ca.zip
Add a namespace qualifier to the befriending statement for
RecusiveASTVisitor. With Clang and modern GCCs this was found through the injected class name of the base class but older GCCs don't properly implement the injected class name rules. llvm-svn: 171593
-rw-r--r--clang-tools-extra/cpp11-migrate/LoopConvert/StmtAncestor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/cpp11-migrate/LoopConvert/StmtAncestor.h b/clang-tools-extra/cpp11-migrate/LoopConvert/StmtAncestor.h
index bb7669f9d97..56665f9af3d 100644
--- a/clang-tools-extra/cpp11-migrate/LoopConvert/StmtAncestor.h
+++ b/clang-tools-extra/cpp11-migrate/LoopConvert/StmtAncestor.h
@@ -182,7 +182,7 @@ public:
return Found;
}
- friend class RecursiveASTVisitor<DeclFinderASTVisitor>;
+ friend class clang::RecursiveASTVisitor<DeclFinderASTVisitor>;
private:
std::string Name;
OpenPOWER on IntegriCloud