[cfe-commits] r40585 - /cfe/trunk/include/clang/AST/Type.h
Steve Naroff
snaroff at apple.com
Sun Jul 29 20:52:56 PDT 2007
Author: snaroff
Date: Sun Jul 29 22:52:55 2007
New Revision: 40585
URL: http://llvm.org/viewvc/llvm-project?rev=40585&view=rev
Log:
Upgrade a comment...
Modified:
cfe/trunk/include/clang/AST/Type.h
Modified: cfe/trunk/include/clang/AST/Type.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Type.h?rev=40585&r1=40584&r2=40585&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Type.h (original)
+++ cfe/trunk/include/clang/AST/Type.h Sun Jul 29 22:52:55 2007
@@ -497,8 +497,9 @@
/// 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) {}
More information about the cfe-commits
mailing list