]> granicus.if.org Git - clang/commitdiff
Add FIXME... maybe Nate will get bored? :)
authorDaniel Dunbar <daniel@zuster.org>
Sun, 18 Oct 2009 02:09:09 +0000 (02:09 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sun, 18 Oct 2009 02:09:09 +0000 (02:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84389 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/Expr.cpp

index d9de698175a62eba129d4c7de873f3212cac2000..c3cc4bd7412d5bbe466013e5e70a79c310bdffaf 100644 (file)
@@ -1744,6 +1744,8 @@ unsigned ExtVectorElementExpr::getNumElements() const {
 
 /// containsDuplicateElements - Return true if any element access is repeated.
 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();
 
   // Halving swizzles do not contain duplicate elements.