Accessible p

int accessible_p(tree type, tree decl, bool consider_local_p)

''DECL is a declaration from a base class of TYPE, which was the class used to name DECL. Return nonzero if, in the current context, DECL is accessible. If TYPE is actually a BINFO node, then we can tell in what context the access is occurring by looking at the most derived class along the path indicated by BINFO. If CONSIDER_LOCAL is true, do consider special access the current scope or friendship thereof we might have.''

Defined in search.c.