Home | History | Annotate | Download | only in AST

Lines Matching refs:getDeclContext

556   Decl *CtxD = cast<Decl>(getDeclContext());
587 Decl *CtxD = cast<Decl>(getDeclContext());
763 if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(getDeclContext()))
765 if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(getDeclContext()))
767 if (ObjCImplDecl *IMD = dyn_cast<ObjCImplDecl>(getDeclContext()))
770 assert(!isa<ObjCProtocolDecl>(getDeclContext()) && "It's a protocol method");
857 ProtD = dyn_cast<ObjCProtocolDecl>(Method->getDeclContext())) {
861 IMD = dyn_cast<ObjCImplDecl>(Method->getDeclContext())) {
873 CatD = dyn_cast<ObjCCategoryDecl>(Method->getDeclContext())) {
886 dyn_cast_or_null<ObjCContainerDecl>(Method->getDeclContext()),
926 ContD = cast<ObjCContainerDecl>(Method->getDeclContext());
942 Method = cast<ObjCContainerDecl>(Method->getDeclContext())->
1322 const ObjCContainerDecl *DC = cast<ObjCContainerDecl>(getDeclContext());