class ComplexType

Declaration

class ComplexType : public Type, public Node { /* full declaration omitted */ };

Description

Complex values, per C99 6.2.5p11. This supports the C99 complex types (_Complex float etc) as well as the GCC integer complex extensions.

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

Inherits from: Type, FoldingSetBase::Node

Member Variables

private clang::QualType ElementType

Inherited from Type:

protected

Method Overview

  • private ComplexType(clang::QualType Element, clang::QualType CanonicalPtr)
  • public void Profile(llvm::FoldingSetNodeID & ID)
  • public static void Profile(llvm::FoldingSetNodeID & ID, clang::QualType Element)
  • public static bool classof(const clang::Type * T)
  • public clang::QualType desugar() const
  • public clang::QualType getElementType() const
  • public bool isSugared() const

Inherited from FoldingSetBase::Node:

Inherited from Type:

Inherited from ExtQualsTypeCommonBase:

    Methods

    ComplexType(clang::QualType Element,
                clang::QualType CanonicalPtr)

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

    Parameters

    clang::QualType Element
    clang::QualType CanonicalPtr

    void Profile(llvm::FoldingSetNodeID& ID)

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

    Parameters

    llvm::FoldingSetNodeID& ID

    static void Profile(llvm::FoldingSetNodeID& ID,
                        clang::QualType Element)

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

    Parameters

    llvm::FoldingSetNodeID& ID
    clang::QualType Element

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

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

    Parameters

    const clang::Type* T

    clang::QualType desugar() const

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

    clang::QualType getElementType() const

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

    bool isSugared() const

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