]> granicus.if.org Git - clang/commitdiff
Back out code for handling VectorType's in getFloatingRank.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 5 Jan 2009 22:44:35 +0000 (22:44 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 5 Jan 2009 22:44:35 +0000 (22:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61764 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/ASTContext.cpp

index c76bd87c65555ea886940495ba9afe4bacb7c80d..374a5209dadb826d827afd11bf20d37c3da7d0aa 100644 (file)
@@ -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()) {