clang API Documentation

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

#include <Type.h>

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

List of all members.

Public Member Functions

QualType getElementType () const
bool isSugared () const
QualType desugar () const
void Profile (llvm::FoldingSetNodeID &ID)

Static Public Member Functions

static void Profile (llvm::FoldingSetNodeID &ID, QualType Element)
static bool classof (const Type *T)

Friends

class ASTContext

Detailed Description

ComplexType - C99 6.2.5p11 - Complex values. This supports the C99 complex types (_Complex float etc) as well as the GCC integer complex extensions.

Definition at line 1915 of file Type.h.


Member Function Documentation

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

Definition at line 1939 of file Type.h.

References clang::Type::getTypeClass().

Definition at line 1930 of file Type.h.

bool clang::ComplexType::isSugared ( ) const [inline]

Definition at line 1929 of file Type.h.

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

Definition at line 1932 of file Type.h.

References getElementType().

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

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

Definition at line 1935 of file Type.h.

References clang::QualType::getAsOpaquePtr().


Friends And Related Function Documentation

friend class ASTContext [friend]

Reimplemented from clang::Type.

Definition at line 1924 of file Type.h.


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