Hi,
As I was already suspecting, I overlooked something:
bool MyClass::VisitCXXRecordDecl(CXXRecordDecl *Declaration) {
if(!(Declaration->hasDefinition()))
return false;
allClasses.push_back(Declaration);
return true;
}
I was returning false in this method, so it stopped traversing the tree. Sorry for the mistake.
However, by the way, I am still interested in knowing how can I fix the problem of the missing header.
Pedro.
El día 27 ene 2014 14:04, Pedro Delgado Perez pedro.delgadoperez@mail.uca.es escribió: