summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2013-12-23 19:10:57 +0000
committerAdrian Prantl <aprantl@apple.com>2013-12-23 19:10:57 +0000
commit5028dc0fcacd6e2f92481080294f6b71ac49a17e (patch)
tree51b3ac60390ef3139703da2e0d090eefb17aa1fa /clang/lib/CodeGen/CGDebugInfo.cpp
parent5c494cbe98d95f451fd0b9ed939b6b0c19247eac (diff)
downloadbcm5719-llvm-5028dc0fcacd6e2f92481080294f6b71ac49a17e.tar.gz
bcm5719-llvm-5028dc0fcacd6e2f92481080294f6b71ac49a17e.zip
remove dead code.
llvm-svn: 197916
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index b2810aec2d1..fec1c33b4e5 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -1470,7 +1470,7 @@ llvm::DIType CGDebugInfo::CreateType(const RecordType *Ty) {
!RD->isCompleteDefinitionRequired() && CGM.getLangOpts().CPlusPlus) ||
// If the class is dynamic, only emit a declaration. A definition will be
// emitted whenever the vtable is emitted.
- (CXXDecl && CXXDecl->hasDefinition() && CXXDecl->isDynamicClass()) || T) {
+ (CXXDecl && CXXDecl->hasDefinition() && CXXDecl->isDynamicClass())) {
llvm::DIDescriptor FDContext =
getContextDescriptor(cast<Decl>(RD->getDeclContext()));
if (!T)
OpenPOWER on IntegriCloud