clang API Documentation

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

#include <Type.h>

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

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)

Friends

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


Member Function Documentation

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

Definition at line 2092 of file Type.h.

References clang::Type::getTypeClass().

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

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

Definition at line 2082 of file Type.h.

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

Definition at line 2085 of file Type.h.

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

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

Definition at line 2088 of file Type.h.

References clang::QualType::getAsOpaquePtr().


Friends And Related Function Documentation

friend class ASTContext [friend]

Reimplemented from clang::Type.

Definition at line 2075 of file Type.h.


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