clang  mainline
Public Member Functions | Static Public Member Functions | Friends
clang::BlockPointerType Class Reference

#include <Type.h>

Inheritance diagram for clang::BlockPointerType:
Inheritance graph
Collaboration diagram for clang::BlockPointerType:
Collaboration graph

List of all members.

Public Member Functions

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

Static Public Member Functions

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


class ASTContext

Detailed Description

BlockPointerType - pointer to a block type. This type is to represent types syntactically represented as "void (^)(int)", etc. Pointee is required to always be a function type.

Definition at line 2118 of file Type.h.

Member Function Documentation

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

Definition at line 2144 of file Type.h.

References clang::Type::getTypeClass().

Definition at line 2135 of file Type.h.

getPointeeType - If this is a pointer, ObjC object pointer, or block pointer, this returns the respective pointee.

Reimplemented from clang::Type.

Definition at line 2132 of file Type.h.

Referenced by DeduceTemplateArgumentsByTypeMatch(), clang::CodeGen::CodeGenFunction::EmitBlockCallExpr(), clang::Decl::getFunctionType(), isDispatchBlock(), UnwrapDissimilarPointerTypes(), and clang::ASTNodeImporter::VisitBlockPointerType().

Definition at line 2134 of file Type.h.

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

Definition at line 2137 of file Type.h.

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

static void clang::BlockPointerType::Profile ( llvm::FoldingSetNodeID &  ID,
QualType  Pointee 
) [inline, static]

Definition at line 2140 of file Type.h.

References clang::QualType::getAsOpaquePtr().

Friends And Related Function Documentation

friend class ASTContext [friend]

Reimplemented from clang::Type.

Definition at line 2127 of file Type.h.

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