Lines Matching refs:CurContext
688 return ObjCTypeParamDecl::Create(Context, CurContext, variance, varianceLoc, in actOnObjCTypeParam()
962 CurContext, in ActOnStartClassInterface()
981 = ObjCInterfaceDecl::Create(Context, CurContext, AtInterfaceLoc, ClassName, in ActOnStartClassInterface()
1087 ObjCCompatibleAliasDecl::Create(Context, CurContext, AtLoc, AliasName, CDecl); in ActOnCompatibilityAlias()
1146 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName, in ActOnStartProtocolInterface()
1161 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName, in ActOnStartProtocolInterface()
1692 = ObjCProtocolDecl::Create(Context, CurContext, Ident, in ActOnForwardProtocolDeclaration()
1733 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface()
1737 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
1780 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface()
1784 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface()
1815 CatIDecl = ObjCCategoryDecl::Create(Context, CurContext, AtCatImplLoc, in ActOnStartCategoryImplementation()
1824 ObjCCategoryImplDecl::Create(Context, CurContext, CatName, IDecl, in ActOnStartCategoryImplementation()
1836 CurContext->addDecl(CDecl); in ActOnStartCategoryImplementation()
1940 IDecl = ObjCInterfaceDecl::Create(Context, CurContext, AtClassImplLoc, in ActOnStartClassImplementation()
1964 ObjCImplementationDecl::Create(Context, CurContext, IDecl, SDecl, in ActOnStartClassImplementation()
3029 = ObjCInterfaceDecl::Create(Context, CurContext, AtClassLoc, in ActOnForwardClassDeclaration()
3678 switch (CurContext->getDeclKind()) { in getObjCContainerKind()
3684 if (cast<ObjCCategoryDecl>(CurContext)->IsClassExtension()) in getObjCContainerKind()
3705 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); in ActOnAtEnd()
4292 if (!CurContext->isObjCContainer()) { in ActOnMethodDeclaration()
4296 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); in ActOnMethodDeclaration()
4318 Context, MethodLoc, EndLoc, Sel, resultDeclType, ReturnTInfo, CurContext, in ActOnMethodDeclaration()
4505 if (isa<ObjCContainerDecl>(CurContext->getRedeclContext())) in CheckObjCDeclScope()
4590 VarDecl *New = VarDecl::Create(Context, CurContext, StartLoc, IdLoc, Id, in BuildObjCExceptionDecl()