class TypeAliasTemplateDecl

Declaration

class TypeAliasTemplateDecl : public RedeclarableTemplateDecl { /* full declaration omitted */ };

Description

Declaration of an alias template. For example:

Declared at: clang/include/clang/AST/DeclTemplate.h:2546

Inherits from: RedeclarableTemplateDecl

Member Variables

Inherited from RedeclarableTemplateDecl:

protected Common = nullptr

Inherited from TemplateDecl:

protected TemplatedDecl
protected TemplateParams

Inherited from Decl:

protected NextInContextAndBits
protected Access
protected FromASTFile
protected IdentifierNamespace
protected CacheValidAndLinkage

Method Overview

  • public static clang::TypeAliasTemplateDecl * Create(clang::ASTContext & C, clang::DeclContext * DC, clang::SourceLocation L, clang::DeclarationName Name, clang::TemplateParameterList * Params, clang::NamedDecl * Decl)
  • public static clang::TypeAliasTemplateDecl * CreateDeserialized(clang::ASTContext & C, unsigned int ID)
  • protected TypeAliasTemplateDecl(clang::ASTContext & C, clang::DeclContext * DC, clang::SourceLocation L, clang::DeclarationName Name, clang::TemplateParameterList * Params, clang::NamedDecl * Decl)
  • public static bool classof(const clang::Decl * D)
  • public static bool classofKind(clang::Decl::Kind K)
  • public clang::TypeAliasTemplateDecl * getCanonicalDecl()
  • public const clang::TypeAliasTemplateDecl * getCanonicalDecl() const
  • protected clang::TypeAliasTemplateDecl::Common * getCommonPtr()
  • public clang::TypeAliasTemplateDecl * getInstantiatedFromMemberTemplate() const
  • public clang::TypeAliasTemplateDecl * getPreviousDecl()
  • public const clang::TypeAliasTemplateDecl * getPreviousDecl() const
  • public clang::TypeAliasDecl * getTemplatedDecl() const
  • protected clang::RedeclarableTemplateDecl::CommonBase * newCommon(clang::ASTContext & C) const

Inherited from RedeclarableTemplateDecl:

Inherited from TemplateDecl:

Inherited from NamedDecl:

Inherited from Decl:

Methods

static clang::TypeAliasTemplateDecl* Create(
    clang::ASTContext& C,
    clang::DeclContext* DC,
    clang::SourceLocation L,
    clang::DeclarationName Name,
    clang::TemplateParameterList* Params,
    clang::NamedDecl* Decl)

Description

Create a function template node.

Declared at: clang/include/clang/AST/DeclTemplate.h:2599

Parameters

clang::ASTContext& C
clang::DeclContext* DC
clang::SourceLocation L
clang::DeclarationName Name
clang::TemplateParameterList* Params
clang::NamedDecl* Decl

static clang::TypeAliasTemplateDecl*
CreateDeserialized(clang::ASTContext& C,
                   unsigned int ID)

Description

Create an empty alias template node.

Declared at: clang/include/clang/AST/DeclTemplate.h:2606

Parameters

clang::ASTContext& C
unsigned int ID

TypeAliasTemplateDecl(
    clang::ASTContext& C,
    clang::DeclContext* DC,
    clang::SourceLocation L,
    clang::DeclarationName Name,
    clang::TemplateParameterList* Params,
    clang::NamedDecl* Decl)

Declared at: clang/include/clang/AST/DeclTemplate.h:2550

Parameters

clang::ASTContext& C
clang::DeclContext* DC
clang::SourceLocation L
clang::DeclarationName Name
clang::TemplateParameterList* Params
clang::NamedDecl* Decl

static bool classof(const clang::Decl* D)

Declared at: clang/include/clang/AST/DeclTemplate.h:2609

Parameters

const clang::Decl* D

static bool classofKind(clang::Decl::Kind K)

Declared at: clang/include/clang/AST/DeclTemplate.h:2610

Parameters

clang::Decl::Kind K

clang::TypeAliasTemplateDecl* getCanonicalDecl()

Description

Retrieves the canonical declaration of this template.

Declared at: clang/include/clang/AST/DeclTemplate.h:2572

const clang::TypeAliasTemplateDecl*
getCanonicalDecl() const

Declared at: clang/include/clang/AST/DeclTemplate.h:2576

clang::TypeAliasTemplateDecl::Common*
getCommonPtr()

Declared at: clang/include/clang/AST/DeclTemplate.h:2558

clang::TypeAliasTemplateDecl*
getInstantiatedFromMemberTemplate() const

Declared at: clang/include/clang/AST/DeclTemplate.h:2593

clang::TypeAliasTemplateDecl* getPreviousDecl()

Description

Retrieve the previous declaration of this function template, or nullptr if no such declaration exists.

Declared at: clang/include/clang/AST/DeclTemplate.h:2583

const clang::TypeAliasTemplateDecl*
getPreviousDecl() const

Declared at: clang/include/clang/AST/DeclTemplate.h:2587

clang::TypeAliasDecl* getTemplatedDecl() const

Description

Get the underlying function declaration of the template.

Declared at: clang/include/clang/AST/DeclTemplate.h:2567

clang::RedeclarableTemplateDecl::CommonBase*
newCommon(clang::ASTContext& C) const

Declared at: clang/include/clang/AST/DeclTemplate.h:2556

Parameters

clang::ASTContext& C