clang API Documentation

Public Member Functions | Static Public Member Functions | Protected Member Functions
clang::ReferenceType Class Reference

#include <Type.h>

Inheritance diagram for clang::ReferenceType:
Inheritance graph
[legend]
Collaboration diagram for clang::ReferenceType:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool isSpelledAsLValue () const
bool isInnerRef () const
QualType getPointeeTypeAsWritten () const
QualType getPointeeType () const
void Profile (llvm::FoldingSetNodeID &ID)

Static Public Member Functions

static void Profile (llvm::FoldingSetNodeID &ID, QualType Referencee, bool SpelledAsLValue)
static bool classof (const Type *T)
static bool classof (const ReferenceType *)

Protected Member Functions

 ReferenceType (TypeClass tc, QualType Referencee, QualType CanonicalRef, bool SpelledAsLValue)

Detailed Description

ReferenceType - Base for LValueReferenceType and RValueReferenceType

Definition at line 1940 of file Type.h.


Constructor & Destructor Documentation

clang::ReferenceType::ReferenceType ( TypeClass  tc,
QualType  Referencee,
QualType  CanonicalRef,
bool  SpelledAsLValue 
) [inline, protected]

Definition at line 1944 of file Type.h.


Member Function Documentation

static bool clang::ReferenceType::classof ( const Type T) [inline, static]

Reimplemented from clang::Type.

Reimplemented in clang::RValueReferenceType, and clang::LValueReferenceType.

Definition at line 1979 of file Type.h.

References clang::Type::getTypeClass().

static bool clang::ReferenceType::classof ( const ReferenceType ) [inline, static]

Definition at line 1983 of file Type.h.

QualType clang::ReferenceType::getPointeeType ( ) const [inline]
QualType clang::ReferenceType::getPointeeTypeAsWritten ( ) const [inline]
bool clang::ReferenceType::isInnerRef ( ) const [inline]

Definition at line 1958 of file Type.h.

Referenced by getPointeeType(), and IsStructurallyEquivalent().

bool clang::ReferenceType::isSpelledAsLValue ( ) const [inline]
void clang::ReferenceType::Profile ( llvm::FoldingSetNodeID &  ID) [inline]
static void clang::ReferenceType::Profile ( llvm::FoldingSetNodeID &  ID,
QualType  Referencee,
bool  SpelledAsLValue 
) [inline, static]

Definition at line 1972 of file Type.h.

References clang::QualType::getAsOpaquePtr().


The documentation for this class was generated from the following file: