Home
last modified time | relevance | path

Searched refs:ClassOfMethodDecl (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp1951 ObjCInterfaceDecl *ClassOfMethodDecl = nullptr; in IsSimplyAccessible() local
1953 ClassOfMethodDecl = MD->getClassInterface(); in IsSimplyAccessible()
1959 ClassOfMethodDecl = IMPD->getClassInterface(); in IsSimplyAccessible()
1962 ClassOfMethodDecl = CatImplClass->getClassInterface(); in IsSimplyAccessible()
1967 if (!ClassOfMethodDecl) in IsSimplyAccessible()
1971 if (declaresSameEntity(ClassOfMethodDecl, Ivar->getContainingInterface())) in IsSimplyAccessible()
1978 return Ivar->getContainingInterface()->isSuperClassOf(ClassOfMethodDecl); in IsSimplyAccessible()
H A DSemaExprMember.cpp1467 ObjCInterfaceDecl *ClassOfMethodDecl = nullptr; in LookupMemberExpr() local
1469 ClassOfMethodDecl = MD->getClassInterface(); in LookupMemberExpr()
1479 ClassOfMethodDecl = IMPD->getClassInterface(); in LookupMemberExpr()
1482 ClassOfMethodDecl = CatImplClass->getClassInterface(); in LookupMemberExpr()
1487 !declaresSameEntity(ClassOfMethodDecl, ClassDeclared)) in LookupMemberExpr()
1490 } else if (!IDecl->isSuperClassOf(ClassOfMethodDecl)) in LookupMemberExpr()