Lines Matching refs:CXXRecordDecl
58 if (CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>(D)) {
71 Record = cast<CXXRecordDecl>(Record->getDeclContext());
918 if (!PrevClassTemplate && PrevDecl && isa<CXXRecordDecl>(PrevDecl) &&
919 cast<CXXRecordDecl>(PrevDecl)->isInjectedClassName()) {
920 PrevDecl = cast<CXXRecordDecl>(PrevDecl->getDeclContext());
922 = cast<CXXRecordDecl>(PrevDecl)->getDescribedClassTemplate();
1036 CXXRecordDecl *NewClass =
1037 CXXRecordDecl::Create(Context, Kind, SemanticContext, KWLoc, NameLoc, Name,
1582 if (CXXRecordDecl *Record
1583 = dyn_cast_or_null<CXXRecordDecl>(computeDeclContext(SS, true)))
1598 if (CXXRecordDecl *Record = T->getAsCXXRecordDecl()) {
1697 if (CXXRecordDecl *Record = T->getAsCXXRecordDecl()) {
2013 CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>(Ctx);
2352 isa<CXXRecordDecl>(LookupCtx) &&
2353 (!cast<CXXRecordDecl>(LookupCtx)->hasDefinition() ||
2354 cast<CXXRecordDecl>(LookupCtx)->hasAnyDependentBases())) {
4786 if (CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>(D))
5951 CXXRecordDecl *PrevRecord;
5953 (PrevRecord = dyn_cast<CXXRecordDecl>(Previous.getFoundDecl()))) {
5983 } else if (InstantiatedFrom && isa<CXXRecordDecl>(Member)) {
5984 cast<CXXRecordDecl>(Member)->setInstantiationOfMemberClass(
5985 cast<CXXRecordDecl>(InstantiatedFrom),
5986 cast<CXXRecordDecl>(Instantiation)->getTemplateSpecializationKind());
6056 } else if (isa<CXXRecordDecl>(Member)) {
6057 CXXRecordDecl *InstantiationClass = cast<CXXRecordDecl>(Instantiation);
6065 cast<CXXRecordDecl>(Member)->setInstantiationOfMemberClass(
6066 cast<CXXRecordDecl>(InstantiatedFrom),
6385 CXXRecordDecl *Record = cast<CXXRecordDecl>(Tag);
6386 CXXRecordDecl *Pattern = Record->getInstantiatedFromMemberClass();
6420 CXXRecordDecl *PrevDecl
6421 = cast_or_null<CXXRecordDecl>(Record->getPreviousDecl());
6438 CXXRecordDecl *RecordDef
6439 = cast_or_null<CXXRecordDecl>(Record->getDefinition());
6444 CXXRecordDecl *Def
6445 = cast_or_null<CXXRecordDecl>(Pattern->getDefinition());
6458 RecordDef = cast_or_null<CXXRecordDecl>(Record->getDefinition());
7179 if (CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(CurContext)) {