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 |
PointerType - C99 6.7.5.1 - Pointer Declarators.
static bool clang::PointerType::classof | ( | const Type * | T | ) | [inline, static] |
Definition at line 2001 of file Type.h.
References clang::Type::getTypeClass().
QualType clang::PointerType::desugar | ( | ) | const [inline] |
QualType clang::PointerType::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 1989 of file Type.h.
Referenced by clang::Sema::ActOnDependentMemberExpr(), clang::Sema::ActOnObjCAtSynchronizedOperand(), AdjustFunctionParmAndArgTypesForDeduction(), appendPointerType(), clang::Sema::BuildCallToMemberFunction(), clang::Sema::BuildObjCArrayLiteral(), clang::Sema::BuildObjCAtThrowStmt(), clang::Sema::BuildObjCDictionaryLiteral(), clang::Sema::CheckCastAlign(), clang::Sema::CheckCompareOperands(), clang::Sema::CheckLiteralOperatorDeclaration(), clang::Sema::CheckMain(), clang::Sema::CheckTransparentUnionArgumentConstraints(), clang::Sema::CheckUnresolvedMemberAccess(), clang::CodeGen::CodeGenTypes::ConvertType(), create_dispatch_once(), create_OSAtomicCompareAndSwap(), clang::CodeGen::CodeGenFunction::EmitCallExpr(), clang::CodeGen::CodeGenFunction::EmitDynamicCast(), emitPointerArithmetic(), clang::Sema::FindCompositePointerType(), clang::Decl::getFunctionType(), clang::UnresolvedMemberExpr::getNamingClass(), clang::ASTContext::getObjCGCAttrKind(), clang::Type::isCARCBridgableType(), IsCFError(), isCFStringType(), IsInitializerListConstructorConversion(), IsNSError(), clang::Sema::IsPointerConversion(), clang::ento::cocoa::isRefType(), IsUserDefinedConversion(), IsVoidStarType(), clang::analyze_format_string::ArgType::matchesType(), clang::TreeTransform< Derived >::RebuildCXXPseudoDestructorExpr(), setObjCGCLValueClass(), TryStaticCast(), TryStaticPointerDowncast(), TypeInfoIsInStandardLibrary(), TypeIsInnerPointer(), UnwrapDissimilarPointerTypes(), clang::ASTContext::UnwrapSimilarPointerTypes(), and clang::ASTNodeImporter::VisitPointerType().
bool clang::PointerType::isSugared | ( | ) | const [inline] |
void clang::PointerType::Profile | ( | llvm::FoldingSetNodeID & | ID | ) | [inline] |
Definition at line 1994 of file Type.h.
Referenced by clang::ASTContext::getPointerType().
static void clang::PointerType::Profile | ( | llvm::FoldingSetNodeID & | ID, |
QualType | Pointee | ||
) | [inline, static] |
Definition at line 1997 of file Type.h.
References clang::QualType::getAsOpaquePtr().
friend class ASTContext [friend] |
Reimplemented from clang::Type.