clang API Documentation

Public Member Functions | Static Public Member Functions
clang::TypeAliasDecl Class Reference

#include <Decl.h>

Inheritance diagram for clang::TypeAliasDecl:
Inheritance graph
[legend]
Collaboration diagram for clang::TypeAliasDecl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

SourceRange getSourceRange () const override LLVM_READONLY
 Source range that this declaration covers.
TypeAliasTemplateDeclgetDescribedAliasTemplate () const
void setDescribedAliasTemplate (TypeAliasTemplateDecl *TAT)

Static Public Member Functions

static TypeAliasDeclCreate (ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, TypeSourceInfo *TInfo)
static TypeAliasDeclCreateDeserialized (ASTContext &C, unsigned ID)
static bool classof (const Decl *D)
static bool classofKind (Kind K)

Detailed Description

TypeAliasDecl - Represents the declaration of a typedef-name via a C++0x alias-declaration.

Definition at line 2564 of file Decl.h.


Member Function Documentation

static bool clang::TypeAliasDecl::classof ( const Decl D) [inline, static]

Reimplemented from clang::TypedefNameDecl.

Definition at line 2585 of file Decl.h.

References clang::Decl::getKind().

static bool clang::TypeAliasDecl::classofKind ( Kind  K) [inline, static]

Reimplemented from clang::TypedefNameDecl.

Definition at line 2586 of file Decl.h.

TypeAliasDecl * TypeAliasDecl::Create ( ASTContext C,
DeclContext DC,
SourceLocation  StartLoc,
SourceLocation  IdLoc,
IdentifierInfo Id,
TypeSourceInfo TInfo 
) [static]

Definition at line 3880 of file Decl.cpp.

References AttributeLangSupport::C.

Definition at line 2581 of file Decl.h.

Referenced by clang::ASTDeclWriter::VisitTypeAliasDecl().

SourceRange TypeAliasDecl::getSourceRange ( ) const [override, virtual]

Source range that this declaration covers.

Reimplemented from clang::TypeDecl.

Definition at line 3894 of file Decl.cpp.

References clang::TypeDecl::getLocStart(), and clang::TypedefNameDecl::getTypeSourceInfo().


The documentation for this class was generated from the following files: