Lines Matching refs:IFace
109 maybeAdjustInterfaceForSubscriptingCheck(const ObjCInterfaceDecl *IFace, in maybeAdjustInterfaceForSubscriptingCheck() argument
112 assert(IFace && Receiver); in maybeAdjustInterfaceForSubscriptingCheck()
116 return IFace; in maybeAdjustInterfaceForSubscriptingCheck()
121 return IFace; in maybeAdjustInterfaceForSubscriptingCheck()
127 return IFace; in maybeAdjustInterfaceForSubscriptingCheck()
138 return IFace; in maybeAdjustInterfaceForSubscriptingCheck()
144 return IFace; in maybeAdjustInterfaceForSubscriptingCheck()
153 return IFace; in maybeAdjustInterfaceForSubscriptingCheck()
156 static bool canRewriteToSubscriptSyntax(const ObjCInterfaceDecl *&IFace, in canRewriteToSubscriptSyntax() argument
163 IFace = maybeAdjustInterfaceForSubscriptingCheck(IFace, Rec, Ctx); in canRewriteToSubscriptSyntax()
165 if (const ObjCMethodDecl *MD = IFace->lookupInstanceMethod(subscriptSel)) { in canRewriteToSubscriptSyntax()
203 static bool rewriteToArraySubscriptGet(const ObjCInterfaceDecl *IFace, in rewriteToArraySubscriptGet() argument
207 if (!canRewriteToSubscriptSyntax(IFace, Msg, NS.getASTContext(), in rewriteToArraySubscriptGet()
213 static bool rewriteToDictionarySubscriptGet(const ObjCInterfaceDecl *IFace, in rewriteToDictionarySubscriptGet() argument
217 if (!canRewriteToSubscriptSyntax(IFace, Msg, NS.getASTContext(), in rewriteToDictionarySubscriptGet()
223 static bool rewriteToArraySubscriptSet(const ObjCInterfaceDecl *IFace, in rewriteToArraySubscriptSet() argument
227 if (!canRewriteToSubscriptSyntax(IFace, Msg, NS.getASTContext(), in rewriteToArraySubscriptSet()
257 static bool rewriteToDictionarySubscriptSet(const ObjCInterfaceDecl *IFace, in rewriteToDictionarySubscriptSet() argument
261 if (!canRewriteToSubscriptSyntax(IFace, Msg, NS.getASTContext(), in rewriteToDictionarySubscriptSet()
299 const ObjCInterfaceDecl *IFace = in rewriteToObjCSubscriptSyntax() local
301 if (!IFace) in rewriteToObjCSubscriptSyntax()
306 return rewriteToArraySubscriptGet(IFace, Msg, NS, commit); in rewriteToObjCSubscriptSyntax()
309 return rewriteToDictionarySubscriptGet(IFace, Msg, NS, commit); in rewriteToObjCSubscriptSyntax()
315 return rewriteToArraySubscriptSet(IFace, Msg, NS, commit); in rewriteToObjCSubscriptSyntax()
318 return rewriteToDictionarySubscriptSet(IFace, Msg, NS, commit); in rewriteToObjCSubscriptSyntax()