parent
ae498b3211
commit
1411bb8f76
|
@ -3143,9 +3143,9 @@ void CodeGenVTables::EmitVTableRelatedData(GlobalDecl GD) {
|
||||||
if (KeyFunction->getCanonicalDecl() != MD->getCanonicalDecl())
|
if (KeyFunction->getCanonicalDecl() != MD->getCanonicalDecl())
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
// If we have no key funcion and this is a explicit instantiation declaration,
|
// If we have no key function and this is a explicit instantiation
|
||||||
// we will produce a vtable at the explicit instantiation. We don't need one
|
// declaration, we will produce a vtable at the explicit instantiation. We
|
||||||
// here.
|
// don't need one here.
|
||||||
if (RDKind == clang::TSK_ExplicitInstantiationDeclaration)
|
if (RDKind == clang::TSK_ExplicitInstantiationDeclaration)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue