summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenTypes.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2011-09-23 20:26:49 +0000
committerDavid Blaikie <dblaikie@gmail.com>2011-09-23 20:26:49 +0000
commiteb2d1f1c88836bd5382e5d7aa8f6b85148a88b27 (patch)
tree933295d0f71ec58a77f55d5e1046ec5efc861253 /lib/CodeGen/CodeGenTypes.cpp
parentc193dd84414c32b7c66f5b68176401665c0d2301 (diff)
downloadclang-eb2d1f1c88836bd5382e5d7aa8f6b85148a88b27.tar.gz
clang-eb2d1f1c88836bd5382e5d7aa8f6b85148a88b27.tar.bz2
clang-eb2d1f1c88836bd5382e5d7aa8f6b85148a88b27.tar.xz
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/CodeGenTypes.cpp')
-rw-r--r--lib/CodeGen/CodeGenTypes.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenTypes.cpp b/lib/CodeGen/CodeGenTypes.cpp
index 8742f5999b..3032f820c6 100644
--- a/lib/CodeGen/CodeGenTypes.cpp
+++ b/lib/CodeGen/CodeGenTypes.cpp
@@ -274,7 +274,6 @@ static llvm::Type *getTypeForFormat(llvm::LLVMContext &VMContext,
if (&format == &llvm::APFloat::x87DoubleExtended)
return llvm::Type::getX86_FP80Ty(VMContext);
llvm_unreachable("Unknown float format!");
- return 0;
}
/// ConvertType - Convert the specified type to its LLVM form.