зеркало из https://github.com/microsoft/clang-1.git
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:
Родитель
a249b723f5
Коммит
a2b34eb7d1
|
@ -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.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче