Searched refs:FoundRecord (Results 1 – 2 of 2) sorted by relevance
2583 if (RecordDecl *FoundRecord = dyn_cast<RecordDecl>(Found)) { in VisitRecordDecl() local2585 FoundRecord->isAnonymousStructOrUnion()) { in VisitRecordDecl()2591 findAnonymousStructOrUnionIndex(FoundRecord)) { in VisitRecordDecl()2598 if (RecordDecl *FoundDef = FoundRecord->getDefinition()) { in VisitRecordDecl()2617 if (FoundRecord->hasExternalLexicalStorage() && in VisitRecordDecl()2618 !FoundRecord->isCompleteDefinition()) in VisitRecordDecl()2619 FoundRecord->getASTContext().getExternalSource()->CompleteType(FoundRecord); in VisitRecordDecl()2623 if (FoundRecord->isCompleteDefinition() && in VisitRecordDecl()2625 !IsStructuralMatch(D, FoundRecord)) in VisitRecordDecl()2628 AdoptDecl = FoundRecord; in VisitRecordDecl()
7974 auto *FoundRecord = dyn_cast<CXXRecordDecl>(ND); in ValidateCandidate() local7975 if (FoundRecord && FoundRecord->isInjectedClassName()) { in ValidateCandidate()7981 QualType FoundType = Ctx.getRecordType(FoundRecord); in ValidateCandidate()7998 Ctx.getRecordType(FoundRecord), in ValidateCandidate()8010 auto *FoundRecord = dyn_cast<CXXRecordDecl>(ND); in ValidateCandidate() local8011 if (FoundRecord && FoundRecord->isInjectedClassName()) in ValidateCandidate()