Upgrade a comment...

llvm-svn: 40585
This commit is contained in:
Steve Naroff 2007-07-30 03:52:55 +00:00
parent 0d595ca0bb
commit 2dc379a7ae
1 changed files with 3 additions and 2 deletions

View File

@ -497,8 +497,9 @@ public:
/// OCUVectorType - Extended vector type. This type is created using /// OCUVectorType - Extended vector type. This type is created using
/// __attribute__((ocu_vector_type(n)), where "n" is the number of elements. /// __attribute__((ocu_vector_type(n)), where "n" is the number of elements.
/// Unlike vector_size, ocu_vector_type is only allowed on typedef's. /// Unlike vector_size, ocu_vector_type is only allowed on typedef's. This
/// This class will enable syntactic extensions, like C++ style initializers. /// class enables syntactic extensions, like Vector Components for accessing
/// points, colors, and textures (modeled after OpenGL Shading Language).
class OCUVectorType : public VectorType { class OCUVectorType : public VectorType {
OCUVectorType(QualType vecType, unsigned nElements, QualType canonType) : OCUVectorType(QualType vecType, unsigned nElements, QualType canonType) :
VectorType(OCUVector, vecType, nElements, canonType) {} VectorType(OCUVector, vecType, nElements, canonType) {}