[cfe-commits] r109961 - /cfe/trunk/include/clang/AST/RecursiveASTVisitor.h
Nick Lewycky
nicholas at mxc.ca
Sat Jul 31 16:26:36 PDT 2010
Author: nicholas
Date: Sat Jul 31 18:26:36 2010
New Revision: 109961
URL: http://llvm.org/viewvc/llvm-project?rev=109961&view=rev
Log:
Iterate typeloc's for class bases.
Modified:
cfe/trunk/include/clang/AST/RecursiveASTVisitor.h
Modified: cfe/trunk/include/clang/AST/RecursiveASTVisitor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/RecursiveASTVisitor.h?rev=109961&r1=109960&r2=109961&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/RecursiveASTVisitor.h (original)
+++ cfe/trunk/include/clang/AST/RecursiveASTVisitor.h Sat Jul 31 18:26:36 2010
@@ -1175,7 +1175,7 @@
for (CXXRecordDecl::base_class_iterator I = D->bases_begin(),
E = D->bases_end();
I != E; ++I) {
- TRY_TO(TraverseType(I->getType()));
+ TRY_TO(TraverseTypeLoc(I->getTypeSourceInfo()->getTypeLoc()));
}
// We don't traverse the friends or the conversions, as they are
// already in decls_begin()/decls_end().
More information about the cfe-commits
mailing list