From: Devang Patel Date: Sat, 7 Nov 2009 00:29:05 +0000 (+0000) Subject: Do not assert if debug info for certain type is not generated. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e468611c125854a2eff59f699700cdd916737819;p=clang Do not assert if debug info for certain type is not generated. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86315 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index e1d1c19e58..1a8d643fd3 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -856,7 +856,6 @@ llvm::DIType CGDebugInfo::CreateTypeNode(QualType Ty, case Type::Vector: return llvm::DIType(); default: - assert(false && "Unhandled type class!"); return llvm::DIType(); case Type::ObjCObjectPointer: return CreateType(cast(Ty), Unit);