Thank you so much Daniel, it works in the way I needed!
If it’s not asking too much, I still have two little doubts:
- Do you know what the “4” is used in the SmallPtrSet for?
llvm::SmallPtrSet<const CXXRecordDecl*, 4> Bases;
- In a case like the following:
class A{
…
};
class B: private A{
…
};
class C: public B{
…
}
From the class C, if I would like to not include the base class A becuase its access is private, how could I do that? With base_class_iterator I obtained a CXXBaseSpecifier, but now I have the classes themselves.
Thanks again,
Pedro.
El día 11 nov 2013 16:43, Daniel Jasper djasper@google.com escribió: