Member predicate Declaration::hasDeclaringType

Holds if this declaration is a member of a class/struct/union.

predicate hasDeclaringType()