clang API Documentation
#include <Type.h>
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 |
ComplexType - C99 6.2.5p11 - Complex values. This supports the C99 complex types (_Complex float etc) as well as the GCC integer complex extensions.
static bool clang::ComplexType::classof | ( | const Type * | T | ) | [inline, static] |
Definition at line 1939 of file Type.h.
References clang::Type::getTypeClass().
QualType clang::ComplexType::desugar | ( | ) | const [inline] |
QualType clang::ComplexType::getElementType | ( | ) | const [inline] |
Definition at line 1927 of file Type.h.
Referenced by FindDesignatorMismatch(), clang::CodeGen::CodeGenFunction::GetUndefRValue(), handleComplexIntConversion(), clang::Sema::IsComplexPromotion(), clang::Sema::PerformImplicitConversion(), and clang::ASTNodeImporter::VisitComplexType().
bool clang::ComplexType::isSugared | ( | ) | const [inline] |
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().
friend class ASTContext [friend] |
Reimplemented from clang::Type.