[cfe-dev] Declaration hiding question

Eli Friedman eli.friedman at gmail.com
Wed Sep 14 17:44:50 PDT 2011


On Wed, Sep 14, 2011 at 5:36 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
> I am wondering what the appropriate mechanism is to tell whether a
> declaration (in Sema::ActOnCXXMemberDeclarator) is hiding another
> member (possibly in a base class).  There are numerous lookup
> functions, but I'm scratching my head on the appropriate way to go
> about it.  Can someone point me in the right direction?

Sema::DiagnoseHiddenVirtualMethods is sort of similar to what you want to do.

-Eli




More information about the cfe-dev mailing list