aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-01-05 22:44:35 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-01-05 22:44:35 +0000
commit8141b755d3ebd9cb489827b781e1ceb350e9278a (patch)
tree2c592dddfe015638654e7c302d862bed7928d92d
parent69d1d0029311fa657dd0be16b1b5ca51ec98d621 (diff)
Back out code for handling VectorType's in getFloatingRank.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61764 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/AST/ASTContext.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp
index c76bd87c65..374a5209da 100644
--- a/lib/AST/ASTContext.cpp
+++ b/lib/AST/ASTContext.cpp
@@ -1408,8 +1408,6 @@ QualType ASTContext::getBaseElementType(const VariableArrayType *VAT) {
static FloatingRank getFloatingRank(QualType T) {
if (const ComplexType *CT = T->getAsComplexType())
return getFloatingRank(CT->getElementType());
- if (const VectorType *VT = T->getAsExtVectorType())
- return getFloatingRank(VT->getElementType());
assert(T->getAsBuiltinType() && "getFloatingRank(): not a floating type");
switch (T->getAsBuiltinType()->getKind()) {