CodeQL library for C/C++
Search

Module FriendDecl

Provides a class representing C++ friend declarations.

Import path

import semmle.code.cpp.FriendDecl

Imports

Declaration

Provides classes for working with C and C++ declarations.

Classes

FriendDecl

A C++ friend declaration [N4140 11.3]. For example the two friend declarations in class A of the following code: ``` class A { friend void f(int); friend class X; };