Lines Matching refs:CXXRecordDecl
520 const CXXRecordDecl *Class) { in CanDeclareSpecialMemberFunction()
537 void Sema::ForceDeclarationOfImplicitMembers(CXXRecordDecl *Class) { in ForceDeclarationOfImplicitMembers()
586 if (const CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>(DC)) in DeclareImplicitMemberFunctionsWithName()
591 const_cast<CXXRecordDecl *>(Record)); in DeclareImplicitMemberFunctionsWithName()
593 S.DeclareImplicitCopyConstructor(const_cast<CXXRecordDecl *>(Record)); in DeclareImplicitMemberFunctionsWithName()
598 if (const CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>(DC)) in DeclareImplicitMemberFunctionsWithName()
601 S.DeclareImplicitDestructor(const_cast<CXXRecordDecl *>(Record)); in DeclareImplicitMemberFunctionsWithName()
608 if (const CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>(DC)) in DeclareImplicitMemberFunctionsWithName()
611 S.DeclareImplicitCopyAssignment(const_cast<CXXRecordDecl *>(Record)); in DeclareImplicitMemberFunctionsWithName()
644 !isa<CXXRecordDecl>(DC)) in LookupDirect()
651 const CXXRecordDecl *Record = cast<CXXRecordDecl>(DC); in LookupDirect()
866 if (CXXRecordDecl *Record = dyn_cast_or_null<CXXRecordDecl>(Ctx)) in CppLookupName()
1344 if (isa<CXXRecordDecl>(LookupCtx)) in LookupQualifiedName()
1345 R.setNamingClass(cast<CXXRecordDecl>(LookupCtx)); in LookupQualifiedName()
1367 CXXRecordDecl *LookupRec = dyn_cast<CXXRecordDecl>(LookupCtx); in LookupQualifiedName()
1387 CXXRecordDecl::BaseMatchesCallback *BaseCallback = 0; in LookupQualifiedName()
1393 BaseCallback = &CXXRecordDecl::FindOrdinaryMember; in LookupQualifiedName()
1397 BaseCallback = &CXXRecordDecl::FindTagMember; in LookupQualifiedName()
1415 BaseCallback = &CXXRecordDecl::FindNestedNameSpecifierMember; in LookupQualifiedName()
1502 AccessSpecifier AS = CXXRecordDecl::MergeAccess(SubobjectAccess, in LookupQualifiedName()
1721 if (CXXRecordDecl *EnclosingClass = dyn_cast<CXXRecordDecl>(Ctx)) in addAssociatedClassesAndNamespaces()
1750 CXXRecordDecl *Class) { in addAssociatedClassesAndNamespaces()
1766 if (CXXRecordDecl *EnclosingClass = dyn_cast<CXXRecordDecl>(Ctx)) in addAssociatedClassesAndNamespaces()
1788 if (CXXRecordDecl *EnclosingClass = dyn_cast<CXXRecordDecl>(Ctx)) in addAssociatedClassesAndNamespaces()
1806 llvm::SmallVector<CXXRecordDecl *, 32> Bases; in addAssociatedClassesAndNamespaces()
1814 for (CXXRecordDecl::base_class_iterator Base = Class->bases_begin(), in addAssociatedClassesAndNamespaces()
1826 CXXRecordDecl *BaseDecl = cast<CXXRecordDecl>(BaseType->getDecl()); in addAssociatedClassesAndNamespaces()
1897 CXXRecordDecl *Class in addAssociatedClassesAndNamespaces()
1898 = cast<CXXRecordDecl>(cast<RecordType>(T)->getDecl()); in addAssociatedClassesAndNamespaces()
1911 if (CXXRecordDecl *EnclosingClass = dyn_cast<CXXRecordDecl>(Ctx)) in addAssociatedClassesAndNamespaces()
2148 Sema::SpecialMemberOverloadResult *Sema::LookupSpecialMember(CXXRecordDecl *RD, in LookupSpecialMember()
2338 CXXConstructorDecl *Sema::LookupDefaultConstructor(CXXRecordDecl *Class) { in LookupDefaultConstructor()
2347 CXXConstructorDecl *Sema::LookupCopyingConstructor(CXXRecordDecl *Class, in LookupCopyingConstructor()
2363 DeclContext::lookup_result Sema::LookupConstructors(CXXRecordDecl *Class) { in LookupConstructors()
2378 CXXMethodDecl *Sema::LookupCopyingAssignment(CXXRecordDecl *Class, in LookupCopyingAssignment()
2404 CXXDestructorDecl *Sema::LookupDestructor(CXXRecordDecl *Class) { in LookupDestructor()
2500 if (!AssociatedClasses.count(cast<CXXRecordDecl>(LexDC))) in ArgumentDependentLookup()
2646 if (CXXRecordDecl *Class = dyn_cast<CXXRecordDecl>(Ctx)) in LookupVisibleDecls()
2703 if (CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>(Ctx)) { in LookupVisibleDecls()
2707 for (CXXRecordDecl::base_class_iterator B = Record->bases_begin(), in LookupVisibleDecls()