class TypeOfExprType

Declaration

class TypeOfExprType : public Type { /* full declaration omitted */ };

Description

Represents a `typeof` (or __typeof__) expression (a GCC extension).

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

Inherits from: Type

Member Variables

private clang::Expr* TOExpr

Inherited from Type:

protected

Method Overview

Inherited from Type:

Inherited from ExtQualsTypeCommonBase:

    Methods

    TypeOfExprType(
        clang::Expr* E,
        clang::QualType can = clang::QualType())

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

    Parameters

    clang::Expr* E
    clang::QualType can = clang::QualType()

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

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

    Parameters

    const clang::Type* T

    clang::QualType desugar() const

    Description

    Remove a single level of sugar.

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

    clang::Expr* getUnderlyingExpr() const

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

    bool isSugared() const

    Description

    Returns whether this type directly provides sugar.

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