clang API Documentation
#include <Type.h>
Public Member Functions | |
bool | isAccessorWithinNumElements (char c) const |
bool | isSugared () const |
QualType | desugar () const |
Static Public Member Functions | |
static int | getPointAccessorIdx (char c) |
static int | getNumericAccessorIdx (char c) |
static int | getAccessorIdx (char c) |
static bool | classof (const Type *T) |
Friends | |
class | ASTContext |
ExtVectorType - Extended vector type. This type is created using __attribute__((ext_vector_type(n)), where "n" is the number of elements. Unlike vector_size, ext_vector_type is only allowed on typedef's. This class enables syntactic extensions, like Vector Components for accessing points, colors, and textures (modeled after OpenGL Shading Language).
static bool clang::ExtVectorType::classof | ( | const Type * | T | ) | [inline, static] |
Reimplemented from clang::VectorType.
Definition at line 2648 of file Type.h.
References clang::Type::getTypeClass().
QualType clang::ExtVectorType::desugar | ( | ) | const [inline] |
Reimplemented from clang::VectorType.
static int clang::ExtVectorType::getAccessorIdx | ( | char | c | ) | [inline, static] |
Definition at line 2635 of file Type.h.
Referenced by clang::ExtVectorElementExpr::getEncodedElementAccess().
static int clang::ExtVectorType::getNumericAccessorIdx | ( | char | c | ) | [inline, static] |
Definition at line 2607 of file Type.h.
Referenced by CheckExtVectorComponent().
static int clang::ExtVectorType::getPointAccessorIdx | ( | char | c | ) | [inline, static] |
Definition at line 2598 of file Type.h.
Referenced by CheckExtVectorComponent().
bool clang::ExtVectorType::isAccessorWithinNumElements | ( | char | c | ) | const [inline] |
Definition at line 2640 of file Type.h.
Referenced by CheckExtVectorComponent().
bool clang::ExtVectorType::isSugared | ( | ) | const [inline] |
Reimplemented from clang::VectorType.
friend class ASTContext [friend] |
Reimplemented from clang::VectorType.