summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-03-14 10:15:44 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-03-14 10:15:44 +0000
commitca5ebafc9dd32184eb6e05bd55b77569adc6909e (patch)
treeeed5018a25aa70cd1d9b4236a9046a55663f496d
parent7a3d806c317f05aa74d46b4925861e50692523ff (diff)
downloadbcm5719-llvm-ca5ebafc9dd32184eb6e05bd55b77569adc6909e.tar.gz
bcm5719-llvm-ca5ebafc9dd32184eb6e05bd55b77569adc6909e.zip
Remove unused typedef as pointed out by a GCC warning.
Yay for auto. llvm-svn: 203912
-rw-r--r--clang/lib/ASTMatchers/ASTMatchFinder.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/ASTMatchers/ASTMatchFinder.cpp b/clang/lib/ASTMatchers/ASTMatchFinder.cpp
index fb8ce757584..72a9d0344a6 100644
--- a/clang/lib/ASTMatchers/ASTMatchFinder.cpp
+++ b/clang/lib/ASTMatchers/ASTMatchFinder.cpp
@@ -664,7 +664,6 @@ bool MatchASTVisitor::classIsDerivedFrom(const CXXRecordDecl *Declaration,
BoundNodesTreeBuilder *Builder) {
if (!Declaration->hasDefinition())
return false;
- typedef CXXRecordDecl::base_class_const_iterator BaseIterator;
for (const auto &It : Declaration->bases()) {
const Type *TypeNode = It.getType().getTypePtr();
OpenPOWER on IntegriCloud