Declaration hiding question

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.