Lines Matching refs:getDeclContext
667 const DeclContext *DC = getDeclContext(); in isDesignatedInitializerForTheInterface()
734 Decl *CtxD = cast<Decl>(getDeclContext()); in getNextRedeclarationImpl()
771 Decl *CtxD = cast<Decl>(getDeclContext()); in getCanonicalDecl()
951 if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(getDeclContext())) in getClassInterface()
953 if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(getDeclContext())) in getClassInterface()
955 if (ObjCImplDecl *IMD = dyn_cast<ObjCImplDecl>(getDeclContext())) in getClassInterface()
957 if (isa<ObjCProtocolDecl>(getDeclContext())) in getClassInterface()
1043 ProtD = dyn_cast<ObjCProtocolDecl>(Method->getDeclContext())) { in collectOverriddenMethodsSlow()
1047 IMD = dyn_cast<ObjCImplDecl>(Method->getDeclContext())) { in collectOverriddenMethodsSlow()
1060 CatD = dyn_cast<ObjCCategoryDecl>(Method->getDeclContext())) { in collectOverriddenMethodsSlow()
1074 dyn_cast_or_null<ObjCContainerDecl>(Method->getDeclContext()), in collectOverriddenMethodsSlow()
1084 Method = cast<ObjCContainerDecl>(Method->getDeclContext())-> in getOverriddenMethods()
1472 const ObjCContainerDecl *DC = cast<ObjCContainerDecl>(getDeclContext()); in getContainingInterface()