• Home
  • Raw
  • Download

Lines Matching refs:getDeclContext

67           !isa<ObjCImplementationDecl>(method->getDeclContext()))  in checkInitMethod()
75 if (isa<ObjCProtocolDecl>(method->getDeclContext())) { in checkInitMethod()
125 = dyn_cast<ObjCInterfaceDecl>(NewMethod->getDeclContext()); in CheckObjCMethodOverride()
127 DeclContext *DC = NewMethod->getDeclContext(); in CheckObjCMethodOverride()
371 dyn_cast<ObjCImplDecl>(MDecl->getDeclContext()); in ActOnStartOfObjCMethodDef()
373 dyn_cast<ObjCContainerDecl>(IMD->getDeclContext()); in ActOnStartOfObjCMethodDef()
787 !(isa<ObjCInterfaceDecl>(prevTypeParam->getDeclContext()) && in checkTypeParamListConsistency()
788 cast<ObjCInterfaceDecl>(prevTypeParam->getDeclContext()) in checkTypeParamListConsistency()
789 ->getDefinition() == prevTypeParam->getDeclContext())) { in checkTypeParamListConsistency()
2008 if (Dcl->getDeclContext()->isFileContext()) in ActOnFinishObjCImplementation()
2248 !isa<ObjCImplementationDecl>(MethodImpl->getDeclContext()) && in CheckMethodOverrideReturn()
2340 !isa<ObjCImplementationDecl>(MethodImpl->getDeclContext()) && in CheckMethodOverrideParam()
3180 auto *MethodProtocol = dyn_cast<ObjCProtocolDecl>(Method->getDeclContext()); in isMethodContextSameForKindofLookup()
3182 dyn_cast<ObjCProtocolDecl>(MethodInList->getDeclContext()); in isMethodContextSameForKindofLookup()
3203 dyn_cast<ObjCCategoryDecl>(Method->getDeclContext())) in addMethodToGlobalList()
3317 if (cast<Decl>(Method->getDeclContext())->isInvalidDecl()) in AddMethodToGlobalPool()
3368 auto *MethodProtocol = dyn_cast<ObjCProtocolDecl>(Method->getDeclContext()); in FilterMethodsByTypeBound()
3977 = cast<ObjCContainerDecl>(method->getDeclContext()); in OverrideSearch()
4112 if (isa<ObjCProtocolDecl>(overridden->getDeclContext()) || in CheckObjCMethodOverrides()
4117 } else if (isa<ObjCImplDecl>(ObjCMethod->getDeclContext())) { in CheckObjCMethodOverrides()
4135 !isa<ObjCCategoryImplDecl>(overridden->getDeclContext())) { in CheckObjCMethodOverrides()
4140 if (isa<ObjCProtocolDecl>(SuperOverridden->getDeclContext()) || in CheckObjCMethodOverrides()
4164 if (isa<ObjCInterfaceDecl>(ObjCMethod->getDeclContext()) || in CheckObjCMethodOverrides()
4165 isa<ObjCImplementationDecl>(ObjCMethod->getDeclContext())) in CheckObjCMethodOverrides()
4167 isa<ObjCProtocolDecl>(overridden->getDeclContext())); in CheckObjCMethodOverrides()
4169 if (CurrentClass && overridden->getDeclContext() != CurrentClass && in CheckObjCMethodOverrides()
4170 isa<ObjCInterfaceDecl>(overridden->getDeclContext()) && in CheckObjCMethodOverrides()