clang  3.7.0
Public Member Functions | List of all members
clang::FixedSizeTemplateParameterList< N > Class Template Reference

Stores a list of template parameters for a TemplateDecl and its derived classes. Suitable for creating on the stack. More...

#include <DeclTemplate.h>

Inheritance diagram for clang::FixedSizeTemplateParameterList< N >:
[legend]
Collaboration diagram for clang::FixedSizeTemplateParameterList< N >:
[legend]

Public Member Functions

 FixedSizeTemplateParameterList (SourceLocation TemplateLoc, SourceLocation LAngleLoc, NamedDecl **Params, SourceLocation RAngleLoc)
 
- Public Member Functions inherited from clang::TemplateParameterList
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
unsigned size () const
 
ArrayRef< NamedDecl * > asArray ()
 
ArrayRef< const NamedDecl * > asArray () const
 
NamedDeclgetParam (unsigned Idx)
 
const NamedDeclgetParam (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

- Public Types inherited from clang::TemplateParameterList
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 Public Member Functions inherited from clang::TemplateParameterList
static TemplateParameterListCreate (const ASTContext &C, SourceLocation TemplateLoc, SourceLocation LAngleLoc, NamedDecl **Params, unsigned NumParams, SourceLocation RAngleLoc)
 
- Protected Member Functions inherited from clang::TemplateParameterList
 TemplateParameterList (SourceLocation TemplateLoc, SourceLocation LAngleLoc, NamedDecl **Params, unsigned NumParams, SourceLocation RAngleLoc)
 

Detailed Description

template<size_t N>
class clang::FixedSizeTemplateParameterList< N >

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.

Constructor & Destructor Documentation

template<size_t N>
clang::FixedSizeTemplateParameterList< N >::FixedSizeTemplateParameterList ( SourceLocation  TemplateLoc,
SourceLocation  LAngleLoc,
NamedDecl **  Params,
SourceLocation  RAngleLoc 
)
inline

Definition at line 142 of file DeclTemplate.h.


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