For an overview of this library, along with tutorials and examples, see CodeQL for C/C++
Holds if this can access private members of class c.
This predicate encodes the phrase “occurs in a member or friend” that is
repeated many times in the C++14 standard, section 11.2.
predicate inMemberOrFriendOf(Class c)