Lines Matching refs:ToRecord
129 bool IsStructuralMatch(RecordDecl *FromRecord, RecordDecl *ToRecord,
133 bool IsStructuralMatch(EnumDecl *FromEnum, EnumDecl *ToRecord);
2037 if (RecordDecl *ToRecord = cast_or_null<RecordDecl>(ToD)) { in ImportDefinitionIfNeeded() local
2038 …if (FromRecord->getDefinition() && FromRecord->isCompleteDefinition() && !ToRecord->getDefinition(… in ImportDefinitionIfNeeded()
2039 ImportDefinition(FromRecord, ToRecord); in ImportDefinitionIfNeeded()
2358 RecordDecl *ToRecord, bool Complain) { in IsStructuralMatch() argument
2361 Decl *ToOrigin = Importer.GetOriginalDecl(ToRecord); in IsStructuralMatch()
2365 ToRecord = ToOriginRecord; in IsStructuralMatch()
2369 ToRecord->getASTContext(), in IsStructuralMatch()
2372 return Ctx.IsStructurallyEquivalent(FromRecord, ToRecord); in IsStructuralMatch()
6154 if (RecordDecl *ToRecord = dyn_cast<RecordDecl>(ToDC)) { in ImportContext() local
6156 if (ToRecord->isCompleteDefinition()) { in ImportContext()
6159 ASTNodeImporter(*this).ImportDefinition(FromRecord, ToRecord, in ImportContext()
6162 CompleteDecl(ToRecord); in ImportContext()
6514 if (RecordDecl *ToRecord = dyn_cast<RecordDecl>(To)) { in ImportDefinition() local
6515 if (!ToRecord->getDefinition()) { in ImportDefinition()
6516 Importer.ImportDefinition(cast<RecordDecl>(FromDC), ToRecord, in ImportDefinition()