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)

Protected Member Functions

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

Detailed Description

ReferenceType - Base for LValueReferenceType and RValueReferenceType

Definition at line 2099 of file Type.h.


Constructor & Destructor Documentation

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

Definition at line 2103 of file Type.h.

References clang::Type::isReferenceType().


Member Function Documentation

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

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

Definition at line 2138 of file Type.h.

References clang::Type::getTypeClass().

Definition at line 2117 of file Type.h.

Referenced by getPointeeType(), and IsStructurallyEquivalent().

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 2131 of file Type.h.

References clang::QualType::getAsOpaquePtr().


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