diff options
author | David Blaikie <dblaikie@gmail.com> | 2011-09-23 20:26:49 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2011-09-23 20:26:49 +0000 |
commit | eb2d1f1c88836bd5382e5d7aa8f6b85148a88b27 (patch) | |
tree | 933295d0f71ec58a77f55d5e1046ec5efc861253 /lib/CodeGen/CGDebugInfo.cpp | |
parent | c193dd84414c32b7c66f5b68176401665c0d2301 (diff) |
Removing a bunch of dead returns/breaks after llvm_unreachables.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140407 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 04bf996acd..fed79db9b0 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -291,16 +291,12 @@ llvm::DIType CGDebugInfo::CreateType(const BuiltinType *BT) { switch (BT->getKind()) { case BuiltinType::Dependent: llvm_unreachable("Unexpected builtin type Dependent"); - return llvm::DIType(); case BuiltinType::Overload: llvm_unreachable("Unexpected builtin type Overload"); - return llvm::DIType(); case BuiltinType::BoundMember: llvm_unreachable("Unexpected builtin type BoundMember"); - return llvm::DIType(); case BuiltinType::UnknownAny: llvm_unreachable("Unexpected builtin type UnknownAny"); - return llvm::DIType(); case BuiltinType::NullPtr: return DBuilder. createNullPtrType(BT->getName(CGM.getContext().getLangOptions())); |