From: Daniel Dunbar Date: Mon, 5 Jan 2009 22:44:35 +0000 (+0000) Subject: Back out code for handling VectorType's in getFloatingRank. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8141b755d3ebd9cb489827b781e1ceb350e9278a;p=clang 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 --- 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()) {