class FixedSizeTemplateParameterListStorage
Declaration
template <size_t N, bool HasRequiresClause>
class FixedSizeTemplateParameterListStorage
: public FixedSizeStorageOwner { /* full declaration omitted */ };
Description
Stores a list of template parameters and the associated requires-clause (if any) for a TemplateDecl and its derived classes. Suitable for creating on the stack.
Declared at: clang/include/clang/AST/DeclTemplate.h:216
Inherits from: FixedSizeStorageOwner
Templates
- size_t N
- bool HasRequiresClause
Member Variables
- private typename TemplateParameterList::FixedSizeStorage< NamedDecl*, Expr*>:: with_counts<N, HasRequiresClause ? 1U : 0U>::type storage
Method Overview
- public FixedSizeTemplateParameterListStorage<N, HasRequiresClause>(const clang::ASTContext & C, clang::SourceLocation TemplateLoc, clang::SourceLocation LAngleLoc, ArrayRef<clang::NamedDecl *> Params, clang::SourceLocation RAngleLoc, clang::Expr * RequiresClause)
Methods
ΒΆFixedSizeTemplateParameterListStorage<
N,
HasRequiresClause>(
const clang::ASTContext& C,
clang::SourceLocation TemplateLoc,
clang::SourceLocation LAngleLoc,
ArrayRef<clang::NamedDecl*> Params,
clang::SourceLocation RAngleLoc,
clang::Expr* RequiresClause)
FixedSizeTemplateParameterListStorage<
N,
HasRequiresClause>(
const clang::ASTContext& C,
clang::SourceLocation TemplateLoc,
clang::SourceLocation LAngleLoc,
ArrayRef<clang::NamedDecl*> Params,
clang::SourceLocation RAngleLoc,
clang::Expr* RequiresClause)
Declared at: clang/include/clang/AST/DeclTemplate.h:224
Parameters
- const clang::ASTContext& C
- clang::SourceLocation TemplateLoc
- clang::SourceLocation LAngleLoc
- ArrayRef<clang::NamedDecl*> Params
- clang::SourceLocation RAngleLoc
- clang::Expr* RequiresClause