diff options
author | David Blaikie <dblaikie@gmail.com> | 2012-01-20 21:50:17 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2012-01-20 21:50:17 +0000 |
commit | e4d798f07897a6378d0f2588e4c2335ec85ca935 (patch) | |
tree | 6f31c0fc2740ae77aa711c1f9da94a19d825af98 /clang/lib/CodeGen/CGDebugInfo.cpp | |
parent | f2a2f5f2bfe9da1a3e0a25934d833956b04bb8a5 (diff) | |
download | bcm5719-llvm-e4d798f07897a6378d0f2588e4c2335ec85ca935.tar.gz bcm5719-llvm-e4d798f07897a6378d0f2588e4c2335ec85ca935.zip |
More dead code removal (using -Wunreachable-code)
llvm-svn: 148577
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index ba89d3756e8..3d0e8cc29b9 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -1565,8 +1565,6 @@ static QualType UnwrapTypeForDebugInfo(QualType T) { if (T == LastT) return T; } while (true); - - return T; } /// getType - Get the type from the cache or return null type if it doesn't exist. @@ -1677,7 +1675,6 @@ llvm::DIType CGDebugInfo::CreateTypeNode(QualType Ty, llvm::DIFile Unit) { case Type::UnaryTransform: case Type::Auto: llvm_unreachable("type should have been unwrapped!"); - return llvm::DIType(); } assert(Diag && "Fall through without a diagnostic?"); |