Lines Matching refs:Derived
280 static AccessResult IsDerivedFromInclusive(const CXXRecordDecl *Derived, in IsDerivedFromInclusive() argument
282 assert(Derived->getCanonicalDecl() == Derived); in IsDerivedFromInclusive()
285 if (Derived == Target) return AR_accessible; in IsDerivedFromInclusive()
287 bool CheckDependent = Derived->isDependentContext(); in IsDerivedFromInclusive()
288 if (CheckDependent && MightInstantiateTo(Derived, Target)) in IsDerivedFromInclusive()
295 if (Derived->isDependentContext() && !Derived->hasDefinition() && in IsDerivedFromInclusive()
296 !Derived->isLambda()) in IsDerivedFromInclusive()
299 for (const auto &I : Derived->bases()) { in IsDerivedFromInclusive()
324 Derived = Queue.pop_back_val(); in IsDerivedFromInclusive()
933 const CXXRecordDecl *Derived = Target.getNamingClass(); in FindBestPath() local
937 bool isDerived = Derived->isDerivedFrom(const_cast<CXXRecordDecl*>(Base), in FindBestPath()
1827 QualType Derived, in CheckBaseClassAccess() argument
1840 DerivedD = cast<CXXRecordDecl>(Derived->getAs<RecordType>()->getDecl()); in CheckBaseClassAccess()
1845 Entity.setDiag(DiagID) << Derived << Base; in CheckBaseClassAccess()