class EnumType

Declaration

class EnumType : public TagType { /* full declaration omitted */ };

Description

A helper class that allows the use of isa/cast/dyncast to detect TagType objects of enums.

Declared at: clang/include/clang/AST/Type.h:4732

Inherits from: TagType

Member Variables

Inherited from Type:

protected

Method Overview

  • private EnumType(const clang::EnumDecl * D)
  • public static bool classof(const clang::Type * T)
  • public clang::QualType desugar() const
  • public clang::EnumDecl * getDecl() const
  • public bool isSugared() const

Inherited from TagType:

Inherited from Type:

Inherited from ExtQualsTypeCommonBase:

    Methods

    EnumType(const clang::EnumDecl* D)

    Declared at: clang/include/clang/AST/Type.h:4735

    Parameters

    const clang::EnumDecl* D

    static bool classof(const clang::Type* T)

    Declared at: clang/include/clang/AST/Type.h:4746

    Parameters

    const clang::Type* T

    clang::QualType desugar() const

    Declared at: clang/include/clang/AST/Type.h:4744

    clang::EnumDecl* getDecl() const

    Declared at: clang/include/clang/AST/Type.h:4739

    bool isSugared() const

    Declared at: clang/include/clang/AST/Type.h:4743