Lines Matching refs:FoundRecord
2496 if (RecordDecl *FoundRecord = dyn_cast<RecordDecl>(Found)) {
2498 FoundRecord->isAnonymousStructOrUnion()) {
2504 findAnonymousStructOrUnionIndex(FoundRecord)) {
2511 if (RecordDecl *FoundDef = FoundRecord->getDefinition()) {
2530 if (FoundRecord->hasExternalLexicalStorage() &&
2531 !FoundRecord->isCompleteDefinition())
2532 FoundRecord->getASTContext().getExternalSource()->CompleteType(FoundRecord);
2536 if (FoundRecord->isCompleteDefinition() &&
2538 !IsStructuralMatch(D, FoundRecord))
2541 AdoptDecl = FoundRecord;