forked from OSchip/llvm-project
parent
de10366c06
commit
c747960855
|
@ -365,10 +365,10 @@ static bool isIntroducingInitializers(const ObjCInterfaceDecl *D) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (const auto *ImplD = D->getImplementation()) {
|
if (const auto *ImplD = D->getImplementation()) {
|
||||||
for (const auto *MD : ImplD->instance_methods()) {
|
for (const auto *MD : ImplD->instance_methods()) {
|
||||||
if (MD->getMethodFamily() == OMF_init && !MD->isOverriding())
|
if (MD->getMethodFamily() == OMF_init && !MD->isOverriding())
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue