Lines Matching refs:Base
91 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base) const {
94 return isDerivedFrom(Base, Paths);
97 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base,
99 if (getCanonicalDecl() == Base->getCanonicalDecl())
104 const CXXRecordDecl *BaseDecl = Base->getCanonicalDecl();
112 bool CXXRecordDecl::isVirtuallyDerivedFrom(const CXXRecordDecl *Base) const {
119 if (getCanonicalDecl() == Base->getCanonicalDecl())
124 const CXXRecordDecl *BaseDecl = Base->getCanonicalDecl();
132 bool CXXRecordDecl::isProvablyNotDerivedFrom(const CXXRecordDecl *Base) const {
133 const CXXRecordDecl *TargetDecl = Base->getCanonicalDecl();
134 return forallBases([TargetDecl](const CXXRecordDecl *Base) {
135 return Base->getCanonicalDecl() != TargetDecl;
160 CXXRecordDecl *Base =
162 if (!Base ||
163 (Base->isDependentContext() &&
164 !Base->isCurrentInstantiation(Record))) {
168 Queue.push_back(Base);
169 if (!BaseMatches(Base))
225 Element.Base = &BaseSpec;
355 if (!PE.Base->isVirtual())
359 if (const RecordType *Record = PE.Base->getType()->getAs<RecordType>())
371 HidingP.back().Base->getType()->getAs<RecordType>())
599 for (const auto &Base : RD->bases()) {
600 if (const RecordType *RT = Base.getType()->getAs<RecordType>()) {
605 if (Overriders.empty() && !Base.isVirtual()) {
619 if (Base.isVirtual()) {