Fix enumeration in switch warnings. No behavior change.

llvm-svn: 65659
This commit is contained in:
Eli Friedman 2009-02-27 23:15:07 +00:00
parent cad9638bd9
commit 015a4742c1
1 changed files with 6 additions and 0 deletions

View File

@ -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;