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 47 of file DeclCXX.h.


Constructor & Destructor Documentation

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

Definition at line 53 of file DeclCXX.h.

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

Implementation of inline functions that require the template declarations.

Definition at line 2103 of file DeclTemplate.h.


Member Function Documentation

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

Retrieve the underlying function or function template.

Definition at line 61 of file DeclCXX.h.

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

static AnyFunctionDecl clang::AnyFunctionDecl::getFromNamedDecl ( NamedDecl ND) [inline, static]

Definition at line 63 of file DeclCXX.h.

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

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

Definition at line 58 of file DeclCXX.h.


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