Don't assert when trying to generate debug info for vector types. This needs to be fixed eventually...
llvm-svn: 86268
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 3048485..c772a00 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -841,6 +841,10 @@
#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();