[cfe-dev] clang c++ inheritance

Mohammad Adil madil90 at gmail.com
Sun Jan 27 13:40:30 PST 2013


What do you mean by "in non-dependent contexts"? And what is meant by
"sugared"?


On Mon, Jan 28, 2013 at 2:20 AM, John McCall <rjmccall at apple.com> wrote:

> 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.
>



-- 
Mohammad Adil
LUMS SSE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130128/096b3078/attachment.html>


More information about the cfe-dev mailing list