[cfe-dev] clang c++ inheritance

John McCall rjmccall at apple.com
Sun Jan 27 13:20:02 PST 2013


On Jan 27, 2013, at 10:37 AM, madil90 <madil90 at gmail.com> wrote:
> In case of inherited classes, does the method_iterator iterates over
> methods of the parent class too?

No.

> If no, how can one access the methods of the parent class?


CXXRecordDecl has a list of base types, which in non-dependent
contexts will always be (possibly sugar for) RecordTypes.

John.



More information about the cfe-dev mailing list