clang
8.0.0
|
A structure for storing an already-substituted template template parameter pack. More...
#include "clang/AST/TemplateName.h"
Public Member Functions | |
SubstTemplateTemplateParmPackStorage (TemplateTemplateParmDecl *Parameter, unsigned Size, const TemplateArgument *Arguments) | |
TemplateTemplateParmDecl * | getParameterPack () const |
Retrieve the template template parameter pack being substituted. More... | |
TemplateArgument | getArgumentPack () const |
Retrieve the template template argument pack with which this parameter was substituted. More... | |
void | Profile (llvm::FoldingSetNodeID &ID, ASTContext &Context) |
![]() | |
unsigned | size () const |
OverloadedTemplateStorage * | getAsOverloadedStorage () |
SubstTemplateTemplateParmStorage * | getAsSubstTemplateTemplateParm () |
SubstTemplateTemplateParmPackStorage * | getAsSubstTemplateTemplateParmPack () |
Static Public Member Functions | |
static void | Profile (llvm::FoldingSetNodeID &ID, ASTContext &Context, TemplateTemplateParmDecl *Parameter, const TemplateArgument &ArgPack) |
Additional Inherited Members | |
![]() | |
enum | Kind { Overloaded, SubstTemplateTemplateParm, SubstTemplateTemplateParmPack } |
![]() | |
UncommonTemplateNameStorage (Kind kind, unsigned size) | |
![]() | |
union { | |
struct BitsTag Bits | |
void * PointerAlignment | |
}; | |
A structure for storing an already-substituted template template parameter pack.
This kind of template names occurs when the parameter pack has been provided with a template template argument pack in a context where its enclosing pack expansion could not be fully expanded.
Definition at line 122 of file TemplateName.h.
|
inline |
Definition at line 129 of file TemplateName.h.
TemplateArgument SubstTemplateTemplateParmPackStorage::getArgumentPack | ( | ) | const |
Retrieve the template template argument pack with which this parameter was substituted.
Definition at line 35 of file TemplateName.cpp.
References clang::UncommonTemplateNameStorage::size().
Referenced by clang::ASTImporter::Import().
|
inline |
Retrieve the template template parameter pack being substituted.
Definition at line 136 of file TemplateName.h.
References clang::Parameter.
Referenced by clang::ASTImporter::Import().
void SubstTemplateTemplateParmPackStorage::Profile | ( | llvm::FoldingSetNodeID & | ID, |
ASTContext & | Context | ||
) |
Definition at line 50 of file TemplateName.cpp.
Referenced by clang::ASTContext::getSubstTemplateTemplateParmPack(), and clang::SubstTemplateTemplateParmStorage::Profile().
|
static |
Definition at line 55 of file TemplateName.cpp.