Lines Matching refs:NamingClass
1589 CXXRecordDecl *NamingClass; member in __anon2f121f790211::CodeCompletionDeclConsumer
1600 NamingClass = llvm::dyn_cast<CXXRecordDecl>(InitialLookupCtx); in CodeCompletionDeclConsumer()
1607 if (!NamingClass) in CodeCompletionDeclConsumer()
1608 NamingClass = BaseType->getAsCXXRecordDecl(); in CodeCompletionDeclConsumer()
1631 auto *NamingClass = this->NamingClass; in IsAccessible() local
1634 if (!NamingClass) in IsAccessible()
1635 NamingClass = Cls; in IsAccessible()
1639 if (NamingClass->getCanonicalDecl() != Cls->getCanonicalDecl() && in IsAccessible()
1640 !NamingClass->isDerivedFrom(Cls)) { in IsAccessible()
1641 NamingClass = Cls; in IsAccessible()
1648 NamingClass = nullptr; in IsAccessible()
1651 return Results.getSema().IsSimplyAccessible(ND, NamingClass, BaseType); in IsAccessible()