Lines Matching refs:CXXRecordDecl
260 if (!VisitCXXRecordDecl(cast<CXXRecordDecl>(RecordTy->getDecl())))
450 if (CXXRecordDecl *Parent= dyn_cast<CXXRecordDecl>(Field->getDeclContext())) {
712 CXXRecordDecl *Pattern = D->getTemplatedDecl();
725 CXXRecordDecl *PrevDecl = 0;
824 CXXRecordDecl *RecordInst
825 = CXXRecordDecl::Create(SemaRef.Context, Pattern->getTagKind(), DC,
961 Decl *TemplateDeclInstantiator::VisitCXXRecordDecl(CXXRecordDecl *D) {
962 CXXRecordDecl *PrevDecl = 0;
964 PrevDecl = cast<CXXRecordDecl>(Owner);
970 PrevDecl = cast<CXXRecordDecl>(Prev);
973 CXXRecordDecl *Record
974 = CXXRecordDecl::Create(SemaRef.Context, D->getTagKind(), Owner,
1411 CXXRecordDecl *Record = cast<CXXRecordDecl>(DC);
2145 CXXRecordDecl *ThisContext = 0;
2262 CXXRecordDecl *ThisContext = 0;
2620 if (CXXRecordDecl *Rec = dyn_cast<CXXRecordDecl>(Function->getDeclContext()))
2924 cast<CXXRecordDecl>(CurContext->getParent()));
3053 static bool isInstantiationOf(CXXRecordDecl *Pattern,
3054 CXXRecordDecl *Instance) {
3152 if (CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>(Other))
3153 return isInstantiationOf(cast<CXXRecordDecl>(D), Record);
3250 (isa<CXXRecordDecl>(D) && cast<CXXRecordDecl>(D)->isLambda())) {
3276 if (CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>(D)) {
3298 if (CXXRecordDecl *InstRecord = dyn_cast<CXXRecordDecl>(DC)) {
3344 if (CXXRecordDecl *Spec = dyn_cast<CXXRecordDecl>(ParentDC)) {
3392 << Context.getTypeDeclType(cast<CXXRecordDecl>(ParentDC));