[cfe-dev] CXXRecordDecl::isDerivedFrom and public inheritance

Konstantin Tokarev annulen at yandex.ru
Tue May 3 06:11:40 PDT 2011


Hi all,

Method CXXRecordDecl::isDerivedFrom allows to determine if some CXXRecordDecl
is derived from another, but does not take into account if inheritance is public, private,
or protected.

Is there any way to determine if inheritance is public on all steps between base and
derived classes?

-- 
Regards,
Konstantin



More information about the cfe-dev mailing list