clang API Documentation
Represents any kind of function declaration, whether it is a concrete function or a function template. More...
#include <DeclCXX.h>
Public Member Functions | |
AnyFunctionDecl (FunctionDecl *FD) | |
AnyFunctionDecl (FunctionTemplateDecl *FTD) | |
Implementation of inline functions that require the template declarations. | |
operator NamedDecl * () const | |
Implicily converts any function or function template into a named declaration. | |
NamedDecl * | get () const |
Retrieve the underlying function or function template. | |
Static Public Member Functions | |
static AnyFunctionDecl | getFromNamedDecl (NamedDecl *ND) |
Represents any kind of function declaration, whether it is a concrete function or a function template.
clang::AnyFunctionDecl::AnyFunctionDecl | ( | FunctionDecl * | FD | ) | [inline] |
clang::AnyFunctionDecl::AnyFunctionDecl | ( | FunctionTemplateDecl * | FTD | ) | [inline] |
Implementation of inline functions that require the template declarations.
Definition at line 2233 of file DeclTemplate.h.
NamedDecl* clang::AnyFunctionDecl::get | ( | ) | const [inline] |
Retrieve the underlying function or function template.
Definition at line 62 of file DeclCXX.h.
Referenced by llvm::PointerLikeTypeTraits< ::clang::AnyFunctionDecl >::getAsVoidPointer().
static AnyFunctionDecl clang::AnyFunctionDecl::getFromNamedDecl | ( | NamedDecl * | ND | ) | [inline, static] |
clang::AnyFunctionDecl::operator NamedDecl * | ( | ) | const [inline] |