CodeQL library for C/C++
Search

Member predicate FriendDecl::getDeclaringClass

Gets the declaring class (also known as the befriending class). For example: A in class A { friend class X }.

Class getDeclaringClass()