CodeQL library for C/C++
codeql/cpp-all 1.1.2-dev (changelog, source)
Search

Member predicate AccessHolder::inMemberOrFriendOf

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)