class BuiltinTemplateDecl

Declaration

class BuiltinTemplateDecl : public TemplateDecl { /* full declaration omitted */ };

Description

Represents the builtin template declaration which is used to implement __make_integer_seq and other builtin templates. It serves no real purpose beyond existing as a place to hold template parameters.

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

Inherits from: TemplateDecl

Member Variables

private clang::BuiltinTemplateKind BTK

Inherited from TemplateDecl:

protected TemplatedDecl
protected TemplateParams

Inherited from Decl:

protected NextInContextAndBits
protected Access
protected FromASTFile
protected IdentifierNamespace
protected CacheValidAndLinkage

Method Overview

  • private BuiltinTemplateDecl(const clang::ASTContext & C, clang::DeclContext * DC, clang::DeclarationName Name, clang::BuiltinTemplateKind BTK)
  • public static clang::BuiltinTemplateDecl * Create(const clang::ASTContext & C, clang::DeclContext * DC, clang::DeclarationName Name, clang::BuiltinTemplateKind BTK)
  • private void anchor()
  • public static bool classof(const clang::Decl * D)
  • public static bool classofKind(clang::Decl::Kind K)
  • public clang::BuiltinTemplateKind getBuiltinTemplateKind() const
  • public clang::SourceRange getSourceRange() const

Inherited from TemplateDecl:

Inherited from NamedDecl:

Inherited from Decl:

Methods

BuiltinTemplateDecl(
    const clang::ASTContext& C,
    clang::DeclContext* DC,
    clang::DeclarationName Name,
    clang::BuiltinTemplateKind BTK)

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

Parameters

const clang::ASTContext& C
clang::DeclContext* DC
clang::DeclarationName Name
clang::BuiltinTemplateKind BTK

static clang::BuiltinTemplateDecl* Create(
    const clang::ASTContext& C,
    clang::DeclContext* DC,
    clang::DeclarationName Name,
    clang::BuiltinTemplateKind BTK)

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

Parameters

const clang::ASTContext& C
clang::DeclContext* DC
clang::DeclarationName Name
clang::BuiltinTemplateKind BTK

void anchor()

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

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

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

Parameters

const clang::Decl* D

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

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

Parameters

clang::Decl::Kind K

clang::BuiltinTemplateKind
getBuiltinTemplateKind() const

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

clang::SourceRange getSourceRange() const

Description

Source range that this declaration covers.

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