diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-10-18 02:09:09 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-10-18 02:09:09 +0000 |
commit | a2b34eb7d19d1d199a244da20afe12353e3593ac (patch) | |
tree | b9c3b6d088583e0ed4dbcf754c1586b235f7d088 /lib/AST/Expr.cpp | |
parent | a249b723f5f9aaa36fe98afd6533bdb290f55f2d (diff) |
Add FIXME... maybe Nate will get bored? :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84389 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Expr.cpp')
-rw-r--r-- | lib/AST/Expr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AST/Expr.cpp b/lib/AST/Expr.cpp index d9de698175..c3cc4bd741 100644 --- a/lib/AST/Expr.cpp +++ b/lib/AST/Expr.cpp @@ -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. |