clang API Documentation
#include <Type.h>


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 |
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.
| static bool clang::BlockPointerType::classof | ( | const Type * | T | ) | [inline, static] |
Definition at line 2092 of file Type.h.
References clang::Type::getTypeClass().
| QualType clang::BlockPointerType::desugar | ( | ) | const [inline] |
| QualType clang::BlockPointerType::getPointeeType | ( | ) | const [inline] |
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().
| bool clang::BlockPointerType::isSugared | ( | ) | const [inline] |
| 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().
friend class ASTContext [friend] |
Reimplemented from clang::Type.