Home | History | Annotate | Download | only in Edit

Lines Matching refs:IFace

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