Lines Matching refs:NSAPIObj
97 std::unique_ptr<NSAPI> NSAPIObj; member in __anon6742ba770111::ObjCMigrateASTConsumer
133 NSAPIObj.reset(new NSAPI(Context)); in Initialize()
328 edit::rewriteToObjCLiteralSyntax(E, *Consumer.NSAPIObj, commit, &PMap); in VisitObjCMessageExpr()
334 edit::rewriteToObjCSubscriptSyntax(E, *Consumer.NSAPIObj, commit); in VisitObjCMessageExpr()
340 rewriteToPropertyDotSyntax(E, Consumer.PP, *Consumer.NSAPIObj, in VisitObjCMessageExpr()
887 *NSAPIObj, commit); in migrateProtocolConformance()
895 if (NSAPIObj->isObjCNSIntegerType(qt)) in CacheObjCNSIntegerTypedefed()
897 else if (NSAPIObj->isObjCNSUIntegerType(qt)) in CacheObjCNSIntegerTypedefed()
929 StringRef NSIntegerName = NSAPIObj->GetNSIntegralKind(qt); in migrateNSEnumDecl()
939 rewriteToNSMacroDecl(Ctx, EnumDcl, TypedefDcl, *NSAPIObj, commit, !NSOptions); in migrateNSEnumDecl()
952 bool Res = rewriteToNSEnumDecl(EnumDcl, TypedefDcl, *NSAPIObj, in migrateNSEnumDecl()
1225 rewriteToObjCProperty(Method, SetterMethod, *NSAPIObj, commit, in migrateProperty()
1239 rewriteToObjCProperty(Method, nullptr /*SetterMethod*/, *NSAPIObj, commit, in migrateProperty()
1261 !NSAPIObj->isMacroDefined("NS_RETURNS_INNER_POINTER")) in migrateNsReturnsInnerPointer()
1274 !NSAPIObj->isMacroDefined("NS_RETURNS_INNER_POINTER")) in migratePropertyNsReturnsInnerPointer()
1392 if (!NSAPIObj->isMacroDefined("CF_IMPLICIT_BRIDGING_ENABLED")) { in AnnotateImplicitBridging()
1467 if (Ret.isOwned() && NSAPIObj->isMacroDefined("CF_RETURNS_RETAINED")) in AddCFAnnotations()
1470 NSAPIObj->isMacroDefined("CF_RETURNS_NOT_RETAINED")) in AddCFAnnotations()
1474 if (Ret.isOwned() && NSAPIObj->isMacroDefined("NS_RETURNS_RETAINED")) in AddCFAnnotations()
1491 NSAPIObj->isMacroDefined("CF_CONSUMED")) { in AddCFAnnotations()
1497 NSAPIObj->isMacroDefined("NS_CONSUMED")) { in AddCFAnnotations()
1580 if (Ret.isOwned() && NSAPIObj->isMacroDefined("CF_RETURNS_RETAINED")) in AddCFAnnotations()
1583 NSAPIObj->isMacroDefined("CF_RETURNS_NOT_RETAINED")) in AddCFAnnotations()
1597 if (Ret.isOwned() && NSAPIObj->isMacroDefined("NS_RETURNS_RETAINED")) in AddCFAnnotations()
1617 NSAPIObj->isMacroDefined("CF_CONSUMED")) { in AddCFAnnotations()
1645 NSAPIObj->isMacroDefined("NS_CONSUMES_SELF")) { in migrateAddMethodAnnotation()
1708 if (!NSAPIObj->isMacroDefined("NS_DESIGNATED_INITIALIZER")) in inferDesignatedInitializers()