forked from OSchip/llvm-project
parent
5c494cbe98
commit
5028dc0fca
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue