clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
clang::MemberPointerType Class Reference

#include <Type.h>

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

List of all members.

Public Member Functions

QualType getPointeeType () const
bool isMemberFunctionPointer () const
bool isMemberDataPointer () const
const TypegetClass () const
bool isSugared () const
QualType desugar () const
void Profile (llvm::FoldingSetNodeID &ID)

Static Public Member Functions

static void Profile (llvm::FoldingSetNodeID &ID, QualType Pointee, const Type *Class)
static bool classof (const Type *T)
static bool classof (const MemberPointerType *)

Friends

class ASTContext

Detailed Description

MemberPointerType - C++ 8.3.3 - Pointers to members

Definition at line 2023 of file Type.h.


Member Function Documentation

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

Reimplemented from clang::Type.

Definition at line 2070 of file Type.h.

References clang::Type::getTypeClass().

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

Definition at line 2073 of file Type.h.

QualType clang::MemberPointerType::desugar ( ) const [inline]

Definition at line 2059 of file Type.h.

const Type* clang::MemberPointerType::getClass ( ) const [inline]
QualType clang::MemberPointerType::getPointeeType ( ) const [inline]
bool clang::MemberPointerType::isMemberDataPointer ( ) const [inline]

Returns true if the member type (i.e. the pointee type) is a data type rather than a function type.

Definition at line 2052 of file Type.h.

bool clang::MemberPointerType::isMemberFunctionPointer ( ) const [inline]

Returns true if the member type (i.e. the pointee type) is a function type rather than a data-member type.

Definition at line 2046 of file Type.h.

bool clang::MemberPointerType::isSugared ( ) const [inline]

Definition at line 2058 of file Type.h.

void clang::MemberPointerType::Profile ( llvm::FoldingSetNodeID &  ID) [inline]

Definition at line 2061 of file Type.h.

Referenced by clang::ASTContext::getMemberPointerType().

static void clang::MemberPointerType::Profile ( llvm::FoldingSetNodeID &  ID,
QualType  Pointee,
const Type Class 
) [inline, static]

Definition at line 2064 of file Type.h.

References clang::QualType::getAsOpaquePtr().


Friends And Related Function Documentation

friend class ASTContext [friend]

Reimplemented from clang::Type.

Definition at line 2039 of file Type.h.


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