Home
last modified time | relevance | path

Searched refs:MDecl (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Sema/
DSemaDeclObjC.cpp318 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in ActOnStartOfObjCMethodDef() local
321 if (!MDecl) in ActOnStartOfObjCMethodDef()
325 if (MDecl->isInstanceMethod()) in ActOnStartOfObjCMethodDef()
326 AddInstanceMethodToGlobalPool(MDecl, true); in ActOnStartOfObjCMethodDef()
328 AddFactoryMethodToGlobalPool(MDecl, true); in ActOnStartOfObjCMethodDef()
331 PushDeclContext(FnBodyScope, MDecl); in ActOnStartOfObjCMethodDef()
338 MDecl->createImplicitParams(Context, MDecl->getClassInterface()); in ActOnStartOfObjCMethodDef()
340 PushOnScopeChains(MDecl->getSelfDecl(), FnBodyScope); in ActOnStartOfObjCMethodDef()
341 PushOnScopeChains(MDecl->getCmdDecl(), FnBodyScope); in ActOnStartOfObjCMethodDef()
344 for (ObjCMethodDecl::param_iterator PI = MDecl->param_begin(), in ActOnStartOfObjCMethodDef()
[all …]
DSemaObjCProperty.cpp1021 if (ObjCCategoryDecl *MDecl = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in CompareProperties() local
1022 for (ObjCCategoryDecl::protocol_iterator P = MDecl->protocol_begin(), in CompareProperties()
1023 E = MDecl->protocol_end(); P != E; ++P) in CompareProperties()
1041 if (ObjCInterfaceDecl *MDecl = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) { in CompareProperties() local
1043 P = MDecl->all_referenced_protocol_begin(), in CompareProperties()
1044 E = MDecl->all_referenced_protocol_end(); P != E; ++P) in CompareProperties()
/external/clang/lib/Parse/
DParseObjc.cpp600 Decl *MDecl = ParseObjCMethodDecl(mLoc, methodType, IDecl,MethodImplKind, in ParseObjCMethodPrototype() local
604 return MDecl; in ParseObjCMethodPrototype()
1727 Decl *MDecl = ParseObjCMethodPrototype(ObjCImpDecl); in ParseObjCMethodDefinition() local
1729 PrettyDeclStackTraceEntry CrashInfo(Actions, MDecl, Tok.getLocation(), in ParseObjCMethodDefinition()
1760 Actions.ActOnStartOfObjCMethodDef(getCurScope(), MDecl); in ParseObjCMethodDefinition()
1765 return Actions.ActOnFinishFunctionBody(MDecl, 0); in ParseObjCMethodDefinition()
1780 Actions.ActOnFinishFunctionBody(MDecl, FnBody.take()); in ParseObjCMethodDefinition()
1781 return MDecl; in ParseObjCMethodDefinition()
/external/clang/lib/Rewrite/
DRewriteObjC.cpp251 ObjCMethodDecl *MDecl, std::string &ResultStr);