clang API Documentation

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

#include <Type.h>

Inheritance diagram for clang::PointerType:
Inheritance graph
[legend]
Collaboration diagram for clang::PointerType:
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

PointerType - C99 6.7.5.1 - Pointer Declarators.

Definition at line 1975 of file Type.h.


Member Function Documentation

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

Definition at line 2001 of file Type.h.

References clang::Type::getTypeClass().

Definition at line 1992 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 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]

Definition at line 1991 of file Type.h.

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().


Friends And Related Function Documentation

friend class ASTContext [friend]

Reimplemented from clang::Type.

Definition at line 1985 of file Type.h.


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