Home | History | Annotate | Download | only in Sema

Lines Matching refs:getDeclContext

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