Lines Matching refs:NSAPIObj
94 std::unique_ptr<NSAPI> NSAPIObj; member in __anonb85677320111::ObjCMigrateASTConsumer
128 NSAPIObj.reset(new NSAPI(Context)); in Initialize()
325 edit::rewriteToObjCLiteralSyntax(E, *Consumer.NSAPIObj, commit, &PMap); in VisitObjCMessageExpr()
331 edit::rewriteToObjCSubscriptSyntax(E, *Consumer.NSAPIObj, commit); in VisitObjCMessageExpr()
337 rewriteToPropertyDotSyntax(E, Consumer.PP, *Consumer.NSAPIObj, in VisitObjCMessageExpr()
894 *NSAPIObj, commit); in migrateProtocolConformance()
902 if (NSAPIObj->isObjCNSIntegerType(qt)) in CacheObjCNSIntegerTypedefed()
904 else if (NSAPIObj->isObjCNSUIntegerType(qt)) in CacheObjCNSIntegerTypedefed()
936 StringRef NSIntegerName = NSAPIObj->GetNSIntegralKind(qt); in migrateNSEnumDecl()
946 rewriteToNSMacroDecl(Ctx, EnumDcl, TypedefDcl, *NSAPIObj, commit, !NSOptions); in migrateNSEnumDecl()
959 bool Res = rewriteToNSEnumDecl(EnumDcl, TypedefDcl, *NSAPIObj, in migrateNSEnumDecl()
1232 rewriteToObjCProperty(Method, SetterMethod, *NSAPIObj, commit, in migrateProperty()
1246 rewriteToObjCProperty(Method, nullptr /*SetterMethod*/, *NSAPIObj, commit, in migrateProperty()
1268 !NSAPIObj->isMacroDefined("NS_RETURNS_INNER_POINTER")) in migrateNsReturnsInnerPointer()
1281 !NSAPIObj->isMacroDefined("NS_RETURNS_INNER_POINTER")) in migratePropertyNsReturnsInnerPointer()
1399 if (!NSAPIObj->isMacroDefined("CF_IMPLICIT_BRIDGING_ENABLED")) { in AnnotateImplicitBridging()
1474 if (Ret.isOwned() && NSAPIObj->isMacroDefined("CF_RETURNS_RETAINED")) in AddCFAnnotations()
1477 NSAPIObj->isMacroDefined("CF_RETURNS_NOT_RETAINED")) in AddCFAnnotations()
1481 if (Ret.isOwned() && NSAPIObj->isMacroDefined("NS_RETURNS_RETAINED")) in AddCFAnnotations()
1498 NSAPIObj->isMacroDefined("CF_CONSUMED")) { in AddCFAnnotations()
1504 NSAPIObj->isMacroDefined("NS_CONSUMED")) { in AddCFAnnotations()
1588 if (Ret.isOwned() && NSAPIObj->isMacroDefined("CF_RETURNS_RETAINED")) in AddCFAnnotations()
1591 NSAPIObj->isMacroDefined("CF_RETURNS_NOT_RETAINED")) in AddCFAnnotations()
1605 if (Ret.isOwned() && NSAPIObj->isMacroDefined("NS_RETURNS_RETAINED")) in AddCFAnnotations()
1624 NSAPIObj->isMacroDefined("CF_CONSUMED")) { in AddCFAnnotations()
1649 NSAPIObj->isMacroDefined("NS_CONSUMES_SELF")) { in migrateAddMethodAnnotation()
1714 if (!NSAPIObj->isMacroDefined("NS_DESIGNATED_INITIALIZER")) in inferDesignatedInitializers()