clang
3.7.0
|
Stores a list of template parameters for a TemplateDecl and its derived classes. Suitable for creating on the stack. More...
#include <DeclTemplate.h>
Public Member Functions | |
FixedSizeTemplateParameterList (SourceLocation TemplateLoc, SourceLocation LAngleLoc, NamedDecl **Params, SourceLocation RAngleLoc) | |
![]() | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
unsigned | size () const |
ArrayRef< NamedDecl * > | asArray () |
ArrayRef< const NamedDecl * > | asArray () const |
NamedDecl * | getParam (unsigned Idx) |
const NamedDecl * | getParam (unsigned Idx) const |
unsigned | getMinRequiredArguments () const |
Returns the minimum number of arguments needed to form a template specialization. More... | |
unsigned | getDepth () const |
Get the depth of this template parameter list in the set of template parameter lists. More... | |
bool | containsUnexpandedParameterPack () const |
Determine whether this template parameter list contains an unexpanded parameter pack. More... | |
SourceLocation | getTemplateLoc () const |
SourceLocation | getLAngleLoc () const |
SourceLocation | getRAngleLoc () const |
SourceRange | getSourceRange () const LLVM_READONLY |
Additional Inherited Members | |
![]() | |
typedef NamedDecl ** | iterator |
Iterates through the template parameters in this list. More... | |
typedef NamedDecl *const * | const_iterator |
Iterates through the template parameters in this list. More... | |
![]() | |
static TemplateParameterList * | Create (const ASTContext &C, SourceLocation TemplateLoc, SourceLocation LAngleLoc, NamedDecl **Params, unsigned NumParams, SourceLocation RAngleLoc) |
![]() | |
TemplateParameterList (SourceLocation TemplateLoc, SourceLocation LAngleLoc, NamedDecl **Params, unsigned NumParams, SourceLocation RAngleLoc) | |
Stores a list of template parameters for a TemplateDecl and its derived classes. Suitable for creating on the stack.
Definition at line 138 of file DeclTemplate.h.
|
inline |
Definition at line 142 of file DeclTemplate.h.