clang
6.0.0
|
Provides information about a dependent function-template specialization declaration. More...
#include "clang/AST/DeclTemplate.h"
Public Member Functions | |
unsigned | getNumTemplates () const |
Returns the number of function templates that this might be a specialization of. More... | |
FunctionTemplateDecl * | getTemplate (unsigned I) const |
Returns the i'th template candidate. More... | |
const TemplateArgumentLoc * | getTemplateArgs () const |
Returns the explicit template arguments that were given. More... | |
unsigned | getNumTemplateArgs () const |
Returns the number of explicit template arguments that were given. More... | |
const TemplateArgumentLoc & | getTemplateArg (unsigned I) const |
Returns the nth template argument. More... | |
SourceLocation | getLAngleLoc () const |
SourceLocation | getRAngleLoc () const |
Static Public Member Functions | |
static DependentFunctionTemplateSpecializationInfo * | Create (ASTContext &Context, const UnresolvedSetImpl &Templates, const TemplateArgumentListInfo &TemplateArgs) |
Public Attributes | |
friend | TrailingObjects |
Provides information about a dependent function-template specialization declaration.
Since explicit function template specialization and instantiation declarations can only appear in namespace scope, and you can only specialize a member of a fully-specialized class, the only way to get one of these is in a friend declaration like the following:
Definition at line 671 of file DeclTemplate.h.
|
static |
|
inline |
Definition at line 726 of file DeclTemplate.h.
References clang::SourceRange::getBegin().
Referenced by clang::ASTDeclWriter::VisitFunctionDecl().
|
inline |
Returns the number of explicit template arguments that were given.
Definition at line 718 of file DeclTemplate.h.
Referenced by clang::ASTDeclWriter::VisitFunctionDecl().
|
inline |
Returns the number of function templates that this might be a specialization of.
Definition at line 704 of file DeclTemplate.h.
Referenced by clang::ASTDeclWriter::VisitFunctionDecl().
|
inline |
Definition at line 730 of file DeclTemplate.h.
References clang::SourceRange::getEnd().
Referenced by clang::ASTDeclWriter::VisitFunctionDecl().
|
inline |
Returns the i'th template candidate.
Definition at line 707 of file DeclTemplate.h.
Referenced by clang::ASTDeclWriter::VisitFunctionDecl().
|
inline |
Returns the nth template argument.
Definition at line 721 of file DeclTemplate.h.
Referenced by clang::ASTDeclWriter::VisitFunctionDecl().
|
inline |
Returns the explicit template arguments that were given.
Definition at line 713 of file DeclTemplate.h.
friend clang::DependentFunctionTemplateSpecializationInfo::TrailingObjects |
Definition at line 696 of file DeclTemplate.h.