clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
clang::EnumType Class Reference

#include <Type.h>

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

List of all members.

Public Member Functions

EnumDeclgetDecl () const
bool isSugared () const
QualType desugar () const

Static Public Member Functions

static bool classof (const Type *T)

Friends

class ASTContext

Detailed Description

EnumType - This is a helper class that allows the use of isa/cast/dyncast to detect TagType objects of enums.

Definition at line 3378 of file Type.h.


Member Function Documentation

static bool clang::EnumType::classof ( const Type T) [inline, static]

Reimplemented from clang::TagType.

Definition at line 3391 of file Type.h.

References clang::Type::getTypeClass().

QualType clang::EnumType::desugar ( ) const [inline]

Definition at line 3389 of file Type.h.

EnumDecl* clang::EnumType::getDecl ( ) const [inline]
bool clang::EnumType::isSugared ( ) const [inline]

Definition at line 3388 of file Type.h.


Friends And Related Function Documentation

friend class ASTContext [friend]

Reimplemented from clang::Type.

Definition at line 3381 of file Type.h.


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