clang 20.0.0git
|
Provides information about a dependent function-template specialization declaration. More...
#include "clang/AST/DeclTemplate.h"
Public Member Functions | |
ArrayRef< FunctionTemplateDecl * > | getCandidates () const |
Returns the candidates for the primary function template. | |
Static Public Member Functions | |
static DependentFunctionTemplateSpecializationInfo * | Create (ASTContext &Context, const UnresolvedSetImpl &Candidates, const TemplateArgumentListInfo *TemplateArgs) |
Public Attributes | |
const ASTTemplateArgumentListInfo * | TemplateArgumentsAsWritten |
The template arguments as written in the sources, if provided. | |
Provides information about a dependent function-template specialization declaration.
This is used for function templates explicit specializations declared within class templates:
As well as dependent friend declarations naming function template specializations declared within class templates:
Definition at line 687 of file DeclTemplate.h.
|
static |
Definition at line 4229 of file Decl.cpp.
References clang::ASTContext::Allocate(), clang::ASTTemplateArgumentListInfo::Create(), and clang::UnresolvedSetImpl::size().
Referenced by clang::FunctionDecl::setDependentTemplateSpecialization().
|
inline |
Returns the candidates for the primary function template.
Definition at line 708 of file DeclTemplate.h.
Referenced by clang::ASTDeclWriter::VisitFunctionDecl().
const ASTTemplateArgumentListInfo* clang::DependentFunctionTemplateSpecializationInfo::TemplateArgumentsAsWritten |
The template arguments as written in the sources, if provided.
Definition at line 701 of file DeclTemplate.h.
Referenced by clang::ASTDeclWriter::VisitCXXMethodDecl(), and clang::ASTDeclWriter::VisitFunctionDecl().