class AdjustedType

Declaration

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

Description

Represents a type which was implicitly adjusted by the semantic engine for arbitrary reasons. For example, array and function types can decay, and function types can have their calling conventions adjusted.

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

Inherits from: Type, FoldingSetBase::Node

Member Variables

private clang::QualType OriginalTy
private clang::QualType AdjustedTy

Inherited from Type:

protected

Method Overview

  • protected AdjustedType(clang::Type::TypeClass TC, clang::QualType OriginalTy, clang::QualType AdjustedTy, clang::QualType CanonicalPtr)
  • public void Profile(llvm::FoldingSetNodeID & ID)
  • public static void Profile(llvm::FoldingSetNodeID & ID, clang::QualType Orig, clang::QualType New)
  • public static bool classof(const clang::Type * T)
  • public clang::QualType desugar() const
  • public clang::QualType getAdjustedType() const
  • public clang::QualType getOriginalType() const
  • public bool isSugared() const

Inherited from FoldingSetBase::Node:

Inherited from Type:

Inherited from ExtQualsTypeCommonBase:

    Methods

    AdjustedType(clang::Type::TypeClass TC,
                 clang::QualType OriginalTy,
                 clang::QualType AdjustedTy,
                 clang::QualType CanonicalPtr)

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

    Parameters

    clang::Type::TypeClass TC
    clang::QualType OriginalTy
    clang::QualType AdjustedTy
    clang::QualType CanonicalPtr

    void Profile(llvm::FoldingSetNodeID& ID)

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

    Parameters

    llvm::FoldingSetNodeID& ID

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

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

    Parameters

    llvm::FoldingSetNodeID& ID
    clang::QualType Orig
    clang::QualType New

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

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

    Parameters

    const clang::Type* T

    clang::QualType desugar() const

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

    clang::QualType getAdjustedType() const

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

    clang::QualType getOriginalType() const

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

    bool isSugared() const

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