Add another two ExtVectorComponent FIXMEs.

llvm-svn: 84393
This commit is contained in:
Daniel Dunbar
2009-10-18 02:09:38 +00:00
parent ce5a0b3deb
commit c04294035f

View File

@@ -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.