aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-02-27 23:15:07 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-02-27 23:15:07 +0000
commit00524e3c12bf1319121db8fba076b29e13b32dcf (patch)
tree162c662866547d11103ae6d54290f16aa867d936 /lib/CodeGen/CGDebugInfo.cpp
parent5a61f0e5c5aaecd5713c3fa4b78be7167a7eeff2 (diff)
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
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--lib/CodeGen/CGDebugInfo.cpp6
1 files changed, 6 insertions, 0 deletions
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<BuiltinType>(Ty), Unit); break;