For other CodeQL resources, including tutorials and examples, see Learning CodeQL
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)