struct InventedTemplateParameterInfo

Declaration

struct InventedTemplateParameterInfo { /* full declaration omitted */ };

Declared at: clang/include/clang/Sema/DeclSpec.h:2754

Member Variables

public unsigned int NumExplicitTemplateParams = 0
The number of parameters in the template parameter list that were explicitly specified by the user, as opposed to being invented by use of an auto parameter.
public unsigned int AutoTemplateParameterDepth = 0
If this is a generic lambda or abbreviated function template, use this as the depth of each 'auto' parameter, during initial AST construction.
public SmallVector<clang::NamedDecl*, 4> TemplateParams
Store the list of the template parameters for a generic lambda or an abbreviated function template. If this is a generic lambda or abbreviated function template, this holds the explicit template parameters followed by the auto parameters converted into TemplateTypeParmDecls. It can be used to construct the generic lambda or abbreviated template's template parameter list during initial AST construction.