Lines Matching refs:CurContext

765   return ObjCTypeParamDecl::Create(Context, CurContext, variance, varianceLoc,  in actOnObjCTypeParam()
1036 CurContext, in ActOnStartClassInterface()
1055 = ObjCInterfaceDecl::Create(Context, CurContext, AtInterfaceLoc, ClassName, in ActOnStartClassInterface()
1185 ObjCCompatibleAliasDecl::Create(Context, CurContext, AtLoc, AliasName, CDecl); in ActOnCompatibilityAlias()
1236 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName, in ActOnStartProtocolInterface()
1266 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName, in ActOnStartProtocolInterface()
1799 = ObjCProtocolDecl::Create(Context, CurContext, Ident, in ActOnForwardProtocolDeclaration()
1837 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface()
1841 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
1885 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface()
1889 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
1927 CatIDecl = ObjCCategoryDecl::Create(Context, CurContext, AtCatImplLoc, in ActOnStartCategoryImplementation()
1936 ObjCCategoryImplDecl::Create(Context, CurContext, CatName, IDecl, in ActOnStartCategoryImplementation()
1951 CurContext->addDecl(CDecl); in ActOnStartCategoryImplementation()
2051 IDecl = ObjCInterfaceDecl::Create(Context, CurContext, AtClassImplLoc, in ActOnStartClassImplementation()
2076 ObjCImplementationDecl::Create(Context, CurContext, IDecl, SDecl, in ActOnStartClassImplementation()
3142 = ObjCInterfaceDecl::Create(Context, CurContext, AtClassLoc, in ActOnForwardClassDeclaration()
3822 switch (CurContext->getDeclKind()) { in getObjCContainerKind()
3828 if (cast<ObjCCategoryDecl>(CurContext)->IsClassExtension()) in getObjCContainerKind()
3988 auto *OCD = cast<ObjCContainerDecl>(CurContext); in ActOnAtEnd()
4000 if (auto *OID = dyn_cast<ObjCImplementationDecl>(CurContext)) { in ActOnAtEnd()
4732 if (!CurContext->isObjCContainer()) { in ActOnMethodDeclaration()
4737 Decl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnMethodDeclaration()
4758 Context, MethodLoc, EndLoc, Sel, resultDeclType, ReturnTInfo, CurContext, in ActOnMethodDeclaration()
5083 if (isa<ObjCContainerDecl>(CurContext->getRedeclContext())) in CheckObjCDeclScope()
5173 VarDecl *New = VarDecl::Create(Context, CurContext, StartLoc, IdLoc, Id, in BuildObjCExceptionDecl()