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 | cb2a056980fd2d2546ebb4ee5e23d4255a4c2356 (patch) | |
tree | 7b68e168382ef4cf065c5f8aedef52ba8ec38a90 /clang/lib/AST/Expr.cpp | |
parent | b0e1c2bab58e8fd89eb1cfb84be3ded9fdb51e72 (diff) | |
download | bcm5719-llvm-cb2a056980fd2d2546ebb4ee5e23d4255a4c2356.tar.gz bcm5719-llvm-cb2a056980fd2d2546ebb4ee5e23d4255a4c2356.zip |
Add FIXME... maybe Nate will get bored? :)
llvm-svn: 84389
Diffstat (limited to 'clang/lib/AST/Expr.cpp')
-rw-r--r-- | clang/lib/AST/Expr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/AST/Expr.cpp b/clang/lib/AST/Expr.cpp index d9de698175a..c3cc4bd7412 100644 --- a/clang/lib/AST/Expr.cpp +++ b/clang/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. |