diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-10-18 02:09:38 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-10-18 02:09:38 +0000 |
commit | 2ad3289fffc95399c6e1bae36e2abbee00d3d9b9 (patch) | |
tree | f0c88ff4b96a098eeed08eb2256841e159010907 | |
parent | 4b55b24410a2739c589c4b9e84a364161c9a17e5 (diff) |
Add another two ExtVectorComponent FIXMEs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84393 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Sema/SemaExpr.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp index b32c684019..b98b67fd74 100644 --- a/lib/Sema/SemaExpr.cpp +++ b/lib/Sema/SemaExpr.cpp @@ -1877,6 +1877,11 @@ QualType Sema:: CheckExtVectorComponent(QualType baseType, SourceLocation OpLoc, const IdentifierInfo *CompName, SourceLocation CompLoc) { + // FIXME: Share logic with ExtVectorElementExpr::containsDuplicateElements, + // see FIXME there. + // + // FIXME: This logic can be greatly simplified by splitting it along + // halving/not halving and reworking the component checking. const ExtVectorType *vecType = baseType->getAs<ExtVectorType>(); // The vector accessor can't exceed the number of elements. |