From 00524e3c12bf1319121db8fba076b29e13b32dcf Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Fri, 27 Feb 2009 23:15:07 +0000 Subject: [PATCH] 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 --- lib/CodeGen/CGDebugInfo.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- 2.50.1