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 Type * getClass () const
CXXRecordDecl * getMostRecentCXXRecordDecl () 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)

Friends

class ASTContext

Detailed Description

MemberPointerType - C++ 8.3.3 - Pointers to members

Definition at line 2179 of file Type.h.


Member Function Documentation

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

Definition at line 2227 of file Type.h.

References clang::Type::getTypeClass().

Definition at line 2216 of file Type.h.

const Type* clang::MemberPointerType::getClass ( ) 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 2208 of file Type.h.

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

Definition at line 2202 of file Type.h.

Referenced by getMSMemberPointerSlots().

Definition at line 2215 of file Type.h.

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

Definition at line 2218 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 2221 of file Type.h.

References clang::QualType::getAsOpaquePtr().


Friends And Related Function Documentation

friend class ASTContext [friend]

Reimplemented from clang::Type.

Definition at line 2195 of file Type.h.


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