Lines Matching defs:ToImpl
3622 ObjCCategoryImplDecl *ToImpl = Category->getImplementation();
3623 if (!ToImpl) {
3629 ToImpl = ObjCCategoryImplDecl::Create(Importer.getToContext(), DC,
3642 ToImpl->setLexicalDeclContext(LexicalDC);
3645 LexicalDC->addDeclInternal(ToImpl);
3646 Category->setImplementation(ToImpl);
3649 Importer.Imported(D, ToImpl);
3651 return ToImpl;
3826 ObjCPropertyImplDecl *ToImpl
3828 if (!ToImpl) {
3829 ToImpl = ObjCPropertyImplDecl::Create(Importer.getToContext(), DC,
3836 ToImpl->setLexicalDeclContext(LexicalDC);
3837 Importer.Imported(D, ToImpl);
3838 LexicalDC->addDeclInternal(ToImpl);
3842 if (D->getPropertyImplementation() != ToImpl->getPropertyImplementation()) {
3843 Importer.ToDiag(ToImpl->getLocation(),
3846 << (ToImpl->getPropertyImplementation()
3857 Ivar != ToImpl->getPropertyIvarDecl()) {
3858 Importer.ToDiag(ToImpl->getPropertyIvarDeclLoc(),
3861 << ToImpl->getPropertyIvarDecl()->getDeclName()
3870 Importer.Imported(D, ToImpl);
3873 return ToImpl;