r203912 - Remove unused typedef as pointed out by a GCC warning.
Benjamin Kramer
benny.kra at googlemail.com
Fri Mar 14 03:15:44 PDT 2014
Author: d0k
Date: Fri Mar 14 05:15:44 2014
New Revision: 203912
URL: http://llvm.org/viewvc/llvm-project?rev=203912&view=rev
Log:
Remove unused typedef as pointed out by a GCC warning.
Yay for auto.
Modified:
cfe/trunk/lib/ASTMatchers/ASTMatchFinder.cpp
Modified: cfe/trunk/lib/ASTMatchers/ASTMatchFinder.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/ASTMatchers/ASTMatchFinder.cpp?rev=203912&r1=203911&r2=203912&view=diff
==============================================================================
--- cfe/trunk/lib/ASTMatchers/ASTMatchFinder.cpp (original)
+++ cfe/trunk/lib/ASTMatchers/ASTMatchFinder.cpp Fri Mar 14 05:15:44 2014
@@ -664,7 +664,6 @@ bool MatchASTVisitor::classIsDerivedFrom
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();
More information about the cfe-commits
mailing list