зеркало из https://github.com/microsoft/clang-1.git
Iterate typeloc's for class bases.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109961 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
87bb5822bf
Коммит
64a15230a9
|
@ -1175,7 +1175,7 @@ bool RecursiveASTVisitor<Derived>::TraverseCXXRecordHelper(
|
|||
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().
|
||||
|
|
Загрузка…
Ссылка в новой задаче