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()
1176 ObjCCompatibleAliasDecl::Create(Context, CurContext, AtLoc, AliasName, CDecl); in ActOnCompatibilityAlias()
1231 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName, in ActOnStartProtocolInterface()
1251 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName, in ActOnStartProtocolInterface()
1783 = ObjCProtocolDecl::Create(Context, CurContext, Ident, in ActOnForwardProtocolDeclaration()
1821 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface()
1825 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
1868 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface()
1872 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
1910 CatIDecl = ObjCCategoryDecl::Create(Context, CurContext, AtCatImplLoc, in ActOnStartCategoryImplementation()
1919 ObjCCategoryImplDecl::Create(Context, CurContext, CatName, IDecl, in ActOnStartCategoryImplementation()
1934 CurContext->addDecl(CDecl); in ActOnStartCategoryImplementation()
2035 IDecl = ObjCInterfaceDecl::Create(Context, CurContext, AtClassImplLoc, in ActOnStartClassImplementation()
2060 ObjCImplementationDecl::Create(Context, CurContext, IDecl, SDecl, in ActOnStartClassImplementation()
3128 = ObjCInterfaceDecl::Create(Context, CurContext, AtClassLoc, in ActOnForwardClassDeclaration()
3806 switch (CurContext->getDeclKind()) { in getObjCContainerKind()
3812 if (cast<ObjCCategoryDecl>(CurContext)->IsClassExtension()) in getObjCContainerKind()
3972 auto *OCD = cast<ObjCContainerDecl>(CurContext); in ActOnAtEnd()
3984 if (auto *OID = dyn_cast<ObjCImplementationDecl>(CurContext)) { in ActOnAtEnd()
4712 if (!CurContext->isObjCContainer()) { in ActOnMethodDeclaration()
4717 Decl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnMethodDeclaration()
4738 Context, MethodLoc, EndLoc, Sel, resultDeclType, ReturnTInfo, CurContext, in ActOnMethodDeclaration()
5063 if (isa<ObjCContainerDecl>(CurContext->getRedeclContext())) in CheckObjCDeclScope()
5153 VarDecl *New = VarDecl::Create(Context, CurContext, StartLoc, IdLoc, Id, in BuildObjCExceptionDecl()