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

Member predicate FriendDecl::getADeclarationLocation

Gets the location of this friend declaration. The result is the location of the friend declaration itself, not the class or function that it refers to. Note: to get the target of the friend declaration, use getFriend.

Location getADeclarationLocation()