Add FIXME... maybe Nate will get bored? :)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84389 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2009-10-18 02:09:09 +00:00
Родитель a249b723f5
Коммит a2b34eb7d1
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -1744,6 +1744,8 @@ unsigned ExtVectorElementExpr::getNumElements() const {
/// containsDuplicateElements - Return true if any element access is repeated. /// containsDuplicateElements - Return true if any element access is repeated.
bool ExtVectorElementExpr::containsDuplicateElements() const { bool ExtVectorElementExpr::containsDuplicateElements() const {
// FIXME: Refactor this code to an accessor on the AST node which returns the
// "type" of component access, and share with code below and in Sema.
llvm::StringRef Comp = Accessor->getNameStr(); llvm::StringRef Comp = Accessor->getNameStr();
// Halving swizzles do not contain duplicate elements. // Halving swizzles do not contain duplicate elements.