aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2007-07-30 03:52:55 +0000
committerSteve Naroff <snaroff@apple.com>2007-07-30 03:52:55 +0000
commitfcac0fff877a461bc5d5a57e6c6727a4c819d95a (patch)
treec2a71758b57a8c6a5114bf2862244d3b89be6338
parentfec0b49c3fa621fbf63e420f3d54a5bb3a0265d2 (diff)
Upgrade a comment...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40585 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/Type.h5
1 files changed, 3 insertions, 2 deletions
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) {}