[cfe-commits] r84389 - /cfe/trunk/lib/AST/Expr.cpp
Daniel Dunbar
daniel at zuster.org
Sat Oct 17 19:09:10 PDT 2009
Author: ddunbar
Date: Sat Oct 17 21:09:09 2009
New Revision: 84389
URL: http://llvm.org/viewvc/llvm-project?rev=84389&view=rev
Log:
Add FIXME... maybe Nate will get bored? :)
Modified:
cfe/trunk/lib/AST/Expr.cpp
Modified: cfe/trunk/lib/AST/Expr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Expr.cpp?rev=84389&r1=84388&r2=84389&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Expr.cpp (original)
+++ cfe/trunk/lib/AST/Expr.cpp Sat Oct 17 21:09:09 2009
@@ -1744,6 +1744,8 @@
/// 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.
More information about the cfe-commits
mailing list