]> granicus.if.org Git - clang/commitdiff
remove dead code.
authorAdrian Prantl <aprantl@apple.com>
Mon, 23 Dec 2013 19:10:57 +0000 (19:10 +0000)
committerAdrian Prantl <aprantl@apple.com>
Mon, 23 Dec 2013 19:10:57 +0000 (19:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197916 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGDebugInfo.cpp

index b2810aec2d135f2a99047f6dd752a58de6577bf8..fec1c33b4e5e4e6433bc617ca3ef0a2633928fa0 100644 (file)
@@ -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)