Lines Matching defs:ToProto
3104 ObjCProtocolDecl *ToProto
3106 if (!ToProto)
3108 Protocols.push_back(ToProto);
3158 ObjCProtocolDecl *ToProto
3160 if (!ToProto)
3162 Protocols.push_back(ToProto);
3208 ObjCProtocolDecl *ToProto = MergeWithProtocol;
3209 if (!ToProto) {
3210 ToProto = ObjCProtocolDecl::Create(Importer.getToContext(), DC,
3214 ToProto->setLexicalDeclContext(LexicalDC);
3215 LexicalDC->addDeclInternal(ToProto);
3218 Importer.Imported(D, ToProto);
3220 if (D->isThisDeclarationADefinition() && ImportDefinition(D, ToProto))
3223 return ToProto;
3288 ObjCProtocolDecl *ToProto
3290 if (!ToProto)
3292 Protocols.push_back(ToProto);
4248 } else if (ObjCProtocolDecl *ToProto = dyn_cast<ObjCProtocolDecl>(ToDC)) {
4250 if (ToProto->getDefinition()) {
4253 ASTNodeImporter(*this).ImportDefinition(FromDef, ToProto,
4256 CompleteDecl(ToProto);
4522 if (ObjCProtocolDecl *ToProto = dyn_cast<ObjCProtocolDecl>(To)) {
4523 if (!ToProto->getDefinition()) {
4524 Importer.ImportDefinition(cast<ObjCProtocolDecl>(FromDC), ToProto,