clang API Documentation

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

#include <Type.h>

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

List of all members.

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

Detailed Description

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

Definition at line 2593 of file Type.h.


Member Function Documentation

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

Reimplemented from clang::VectorType.

Definition at line 2646 of file Type.h.

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

Definition at line 2640 of file Type.h.

Referenced by CheckExtVectorComponent().

Reimplemented from clang::VectorType.

Definition at line 2645 of file Type.h.


Friends And Related Function Documentation

friend class ASTContext [friend]

Reimplemented from clang::VectorType.

Definition at line 2596 of file Type.h.


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