clang API Documentation

Public Member Functions | Static Public Member Functions
clang::AnyFunctionDecl Class Reference

Represents any kind of function declaration, whether it is a concrete function or a function template. More...

#include <DeclCXX.h>

List of all members.

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.
NamedDeclget () const
 Retrieve the underlying function or function template.

Static Public Member Functions

static AnyFunctionDecl getFromNamedDecl (NamedDecl *ND)

Detailed Description

Represents any kind of function declaration, whether it is a concrete function or a function template.

Definition at line 48 of file DeclCXX.h.


Constructor & Destructor Documentation

clang::AnyFunctionDecl::AnyFunctionDecl ( FunctionDecl FD) [inline]

Definition at line 54 of file DeclCXX.h.

clang::AnyFunctionDecl::AnyFunctionDecl ( FunctionTemplateDecl FTD) [inline]

Implementation of inline functions that require the template declarations.

Definition at line 2233 of file DeclTemplate.h.


Member Function Documentation

Retrieve the underlying function or function template.

Definition at line 62 of file DeclCXX.h.

Referenced by llvm::PointerLikeTypeTraits< ::clang::AnyFunctionDecl >::getAsVoidPointer().

Definition at line 64 of file DeclCXX.h.

clang::AnyFunctionDecl::operator NamedDecl * ( ) const [inline]

Implicily converts any function or function template into a named declaration.

Definition at line 59 of file DeclCXX.h.


The documentation for this class was generated from the following files: