class ReferenceType

Declaration

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

Description

Base for LValueReferenceType and RValueReferenceType

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

Inherits from: Type, FoldingSetBase::Node

Member Variables

private clang::QualType PointeeType

Inherited from Type:

protected

Method Overview

  • public void Profile(llvm::FoldingSetNodeID & ID)
  • public static void Profile(llvm::FoldingSetNodeID & ID, clang::QualType Referencee, bool SpelledAsLValue)
  • protected ReferenceType(clang::Type::TypeClass tc, clang::QualType Referencee, clang::QualType CanonicalRef, bool SpelledAsLValue)
  • public static bool classof(const clang::Type * T)
  • public clang::QualType getPointeeType() const
  • public clang::QualType getPointeeTypeAsWritten() const
  • public bool isInnerRef() const
  • public bool isSpelledAsLValue() const

Inherited from FoldingSetBase::Node:

Inherited from Type:

Inherited from ExtQualsTypeCommonBase:

    Methods

    void Profile(llvm::FoldingSetNodeID& ID)

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

    Parameters

    llvm::FoldingSetNodeID& ID

    static void Profile(llvm::FoldingSetNodeID& ID,
                        clang::QualType Referencee,
                        bool SpelledAsLValue)

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

    Parameters

    llvm::FoldingSetNodeID& ID
    clang::QualType Referencee
    bool SpelledAsLValue

    ReferenceType(clang::Type::TypeClass tc,
                  clang::QualType Referencee,
                  clang::QualType CanonicalRef,
                  bool SpelledAsLValue)

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

    Parameters

    clang::Type::TypeClass tc
    clang::QualType Referencee
    clang::QualType CanonicalRef
    bool SpelledAsLValue

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

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

    Parameters

    const clang::Type* T

    clang::QualType getPointeeType() const

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

    clang::QualType getPointeeTypeAsWritten() const

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

    bool isInnerRef() const

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

    bool isSpelledAsLValue() const

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