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

Member Function Documentation

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

Definition at line 2129 of file Type.h.

References clang::Type::getTypeClass().

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

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

Definition at line 2119 of file Type.h.

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

Definition at line 2122 of file Type.h.

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

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

Definition at line 2125 of file Type.h.

References clang::QualType::getAsOpaquePtr().

Friends And Related Function Documentation

friend class ASTContext [friend]

Reimplemented from clang::Type.

Definition at line 2112 of file Type.h.

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