]> granicus.if.org Git - clang/commitdiff
Don't assert when trying to generate debug info for vector types. This needs to be...
authorAnders Carlsson <andersca@mac.com>
Fri, 6 Nov 2009 18:24:04 +0000 (18:24 +0000)
committerAnders Carlsson <andersca@mac.com>
Fri, 6 Nov 2009 18:24:04 +0000 (18:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86268 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGDebugInfo.cpp

index 3048485c85df8b2c762e6e570108547f3c7577f5..c772a006f5d301aa453ab0e3aa0d33b3b0e84dc3 100644 (file)
@@ -841,6 +841,10 @@ llvm::DIType CGDebugInfo::CreateTypeNode(QualType Ty,
 #include "clang/AST/TypeNodes.def"
     assert(false && "Dependent types cannot show up in debug information");
 
+  // FIXME: Handle these.
+  case Type::ExtVector:
+  case Type::Vector:
+    return llvm::DIType();
   default:
     assert(false && "Unhandled type class!");
     return llvm::DIType();