From: Eli Friedman Date: Fri, 27 Feb 2009 23:15:07 +0000 (+0000) Subject: Fix enumeration in switch warnings. No behavior change. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00524e3c12bf1319121db8fba076b29e13b32dcf;p=clang Fix enumeration in switch warnings. No behavior change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65659 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 6c67ba5814..62b9f4aff7 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -496,6 +496,12 @@ llvm::DIType CGDebugInfo::getOrCreateType(QualType Ty, case Type::ObjCInterface: case Type::ObjCQualifiedInterface: case Type::ObjCQualifiedId: + case Type::FixedWidthInt: + case Type::BlockPointer: + case Type::MemberPointer: + case Type::ClassTemplateSpecialization: + case Type::ObjCQualifiedClass: + // Unsupported types return llvm::DIType(); case Type::Builtin: Slot = CreateType(cast(Ty), Unit); break;