• Home
  • Raw
  • Download

Lines Matching refs:CXXRecordDecl

79 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base) const {  in isDerivedFrom()
85 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base, in isDerivedFrom()
90 Paths.setOrigin(const_cast<CXXRecordDecl*>(this)); in isDerivedFrom()
92 const_cast<CXXRecordDecl*>(Base->getCanonicalDecl()), in isDerivedFrom()
96 bool CXXRecordDecl::isVirtuallyDerivedFrom(CXXRecordDecl *Base) const { in isVirtuallyDerivedFrom()
106 Paths.setOrigin(const_cast<CXXRecordDecl*>(this)); in isVirtuallyDerivedFrom()
110 static bool BaseIsNot(const CXXRecordDecl *Base, void *OpaqueTarget) { in BaseIsNot()
112 return Base->getCanonicalDecl() != (const CXXRecordDecl*) OpaqueTarget; in BaseIsNot()
115 bool CXXRecordDecl::isProvablyNotDerivedFrom(const CXXRecordDecl *Base) const { in isProvablyNotDerivedFrom()
119 bool CXXRecordDecl::forallBases(ForallBasesCallback *BaseMatches, in forallBases()
122 llvm::SmallVector<const CXXRecordDecl*, 8> Queue; in forallBases()
124 const CXXRecordDecl *Record = this; in forallBases()
127 for (CXXRecordDecl::base_class_const_iterator in forallBases()
136 CXXRecordDecl *Base = in forallBases()
137 cast_or_null<CXXRecordDecl>(Ty->getDecl()->getDefinition()); in forallBases()
161 const CXXRecordDecl *Record, in lookupInBases()
162 CXXRecordDecl::BaseMatchesCallback *BaseMatches, in lookupInBases()
170 for (CXXRecordDecl::base_class_const_iterator BaseSpec = Record->bases_begin(), in lookupInBases()
233 ScratchPath.Access = CXXRecordDecl::MergeAccess(AccessToHere, in lookupInBases()
252 CXXRecordDecl *BaseRecord in lookupInBases()
253 = cast<CXXRecordDecl>(BaseSpec->getType()->getAs<RecordType>() in lookupInBases()
288 bool CXXRecordDecl::lookupInBases(BaseMatchesCallback *BaseMatches, in lookupInBases()
317 CXXRecordDecl *VBase = 0; in lookupInBases()
319 VBase = cast<CXXRecordDecl>(Record->getDecl()); in lookupInBases()
331 CXXRecordDecl *HidingClass = 0; in lookupInBases()
334 HidingClass = cast<CXXRecordDecl>(Record->getDecl()); in lookupInBases()
355 bool CXXRecordDecl::FindBaseClass(const CXXBaseSpecifier *Specifier, in FindBaseClass()
364 bool CXXRecordDecl::FindVirtualBaseClass(const CXXBaseSpecifier *Specifier, in FindVirtualBaseClass()
374 bool CXXRecordDecl::FindTagMember(const CXXBaseSpecifier *Specifier, in FindTagMember()
390 bool CXXRecordDecl::FindOrdinaryMember(const CXXBaseSpecifier *Specifier, in FindOrdinaryMember()
407 bool CXXRecordDecl::
457 llvm::DenseMap<const CXXRecordDecl *, unsigned> SubobjectCount;
460 llvm::DenseMap<const CXXRecordDecl *, CXXFinalOverriderMap *> VirtualOverriders;
467 void Collect(const CXXRecordDecl *RD, bool VirtualBase,
468 const CXXRecordDecl *InVirtualSubobject,
473 void FinalOverriderCollector::Collect(const CXXRecordDecl *RD, in Collect()
475 const CXXRecordDecl *InVirtualSubobject, in Collect()
480 = ++SubobjectCount[cast<CXXRecordDecl>(RD->getCanonicalDecl())]; in Collect()
482 for (CXXRecordDecl::base_class_const_iterator Base = RD->bases_begin(), in Collect()
485 const CXXRecordDecl *BaseDecl = cast<CXXRecordDecl>(RT->getDecl()); in Collect()
527 for (CXXRecordDecl::method_iterator M = RD->method_begin(), in Collect()
603 for (llvm::DenseMap<const CXXRecordDecl *, CXXFinalOverriderMap *>::iterator in ~FinalOverriderCollector()
611 CXXRecordDecl::getFinalOverriders(CXXFinalOverriderMap &FinalOverriders) const { in getFinalOverriders()
653 const_cast<CXXRecordDecl *>(Pos->InVirtualSubobject))) in getFinalOverriders()
671 AddIndirectPrimaryBases(const CXXRecordDecl *RD, ASTContext &Context, in AddIndirectPrimaryBases()
678 for (CXXRecordDecl::base_class_const_iterator I = RD->bases_begin(), in AddIndirectPrimaryBases()
683 const CXXRecordDecl *BaseDecl = in AddIndirectPrimaryBases()
684 cast<CXXRecordDecl>(I->getType()->getAs<RecordType>()->getDecl()); in AddIndirectPrimaryBases()
695 CXXRecordDecl::getIndirectPrimaryBases(CXXIndirectPrimaryBaseSet& Bases) const { in getIndirectPrimaryBases()
701 for (CXXRecordDecl::base_class_const_iterator I = bases_begin(), in getIndirectPrimaryBases()
706 const CXXRecordDecl *BaseDecl = in getIndirectPrimaryBases()
707 cast<CXXRecordDecl>(I->getType()->getAs<RecordType>()->getDecl()); in getIndirectPrimaryBases()