diff options
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 714dde059be..3048485c85d 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -842,15 +842,7 @@ llvm::DIType CGDebugInfo::CreateTypeNode(QualType Ty, assert(false && "Dependent types cannot show up in debug information"); default: - case Type::LValueReference: - case Type::RValueReference: - case Type::Vector: - case Type::ExtVector: - case Type::FixedWidthInt: - case Type::MemberPointer: - case Type::TemplateSpecialization: - case Type::QualifiedName: - // Unsupported types + assert(false && "Unhandled type class!"); return llvm::DIType(); case Type::ObjCObjectPointer: return CreateType(cast<ObjCObjectPointerType>(Ty), Unit); |