Lines Matching refs:ToRecord
124 bool IsStructuralMatch(RecordDecl *FromRecord, RecordDecl *ToRecord,
128 bool IsStructuralMatch(EnumDecl *FromEnum, EnumDecl *ToRecord);
1867 if (RecordDecl *ToRecord = cast_or_null<RecordDecl>(ToD)) { in ImportDefinitionIfNeeded() local
1868 …if (FromRecord->getDefinition() && FromRecord->isCompleteDefinition() && !ToRecord->getDefinition(… in ImportDefinitionIfNeeded()
1869 ImportDefinition(FromRecord, ToRecord); in ImportDefinitionIfNeeded()
2185 RecordDecl *ToRecord, bool Complain) { in IsStructuralMatch() argument
2188 Decl *ToOrigin = Importer.GetOriginalDecl(ToRecord); in IsStructuralMatch()
2192 ToRecord = ToOriginRecord; in IsStructuralMatch()
2196 ToRecord->getASTContext(), in IsStructuralMatch()
2199 return Ctx.IsStructurallyEquivalent(FromRecord, ToRecord); in IsStructuralMatch()
4718 if (RecordDecl *ToRecord = dyn_cast<RecordDecl>(ToDC)) { in ImportContext() local
4720 if (ToRecord->isCompleteDefinition()) { in ImportContext()
4723 ASTNodeImporter(*this).ImportDefinition(FromRecord, ToRecord, in ImportContext()
4726 CompleteDecl(ToRecord); in ImportContext()
5011 if (RecordDecl *ToRecord = dyn_cast<RecordDecl>(To)) { in ImportDefinition() local
5012 if (!ToRecord->getDefinition()) { in ImportDefinition()
5013 Importer.ImportDefinition(cast<RecordDecl>(FromDC), ToRecord, in ImportDefinition()