From: Steve Naroff Date: Mon, 30 Jul 2007 03:52:55 +0000 (+0000) Subject: Upgrade a comment... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fcac0fff877a461bc5d5a57e6c6727a4c819d95a;p=clang Upgrade a comment... git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40585 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index 6853dbcf13..efd9cac22c 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -497,8 +497,9 @@ public: /// OCUVectorType - Extended vector type. This type is created using /// __attribute__((ocu_vector_type(n)), where "n" is the number of elements. -/// Unlike vector_size, ocu_vector_type is only allowed on typedef's. -/// This class will enable syntactic extensions, like C++ style initializers. +/// Unlike vector_size, ocu_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). class OCUVectorType : public VectorType { OCUVectorType(QualType vecType, unsigned nElements, QualType canonType) : VectorType(OCUVector, vecType, nElements, canonType) {}