clang API Documentation

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

#include <Decl.h>

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

List of all members.

Public Member Functions

SourceRange getSourceRange () const override LLVM_READONLY
 Source range that this declaration covers.

Static Public Member Functions

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

Detailed Description

TypedefDecl - Represents the declaration of a typedef-name via the 'typedef' type specifier.

Definition at line 2544 of file Decl.h.


Member Function Documentation

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

Reimplemented from clang::TypedefNameDecl.

Definition at line 2558 of file Decl.h.

References clang::Decl::getKind().

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

Reimplemented from clang::TypedefNameDecl.

Definition at line 2559 of file Decl.h.

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

Definition at line 3868 of file Decl.cpp.

References AttributeLangSupport::C.

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

Source range that this declaration covers.

Reimplemented from clang::TypeDecl.

Definition at line 3885 of file Decl.cpp.

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


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