Lines Matching refs:RecordDecl

421         RecordDecl *From, RecordDecl *To,
467 bool IsStructuralMatch(RecordDecl *FromRecord, RecordDecl *ToRecord,
492 ExpectedDecl VisitRecordDecl(RecordDecl *D);
1418 Expected<RecordDecl *> ToDeclOrErr = import(T->getDecl());
1617 // Check if RecordDecl is in FunctionDecl parameters to avoid infinite loop.
1625 if (isa<RecordDecl>(D) && (FunDecl = dyn_cast<FunctionDecl>(OrigDC)) &&
1692 if (RecordDecl *FromRecord = dyn_cast<RecordDecl>(FromD)) {
1693 if (RecordDecl *ToRecord = cast<RecordDecl>(ToD)) {
1779 // If we are in the process of ImportDefinition(...) for a RecordDecl we
1788 RecordDecl *FromRecordDecl = nullptr;
1789 RecordDecl *ToRecordDecl = nullptr;
1791 // element is a RecordDecl and if so we need to import the defintion.
1853 const auto *FromRD = dyn_cast<RecordDecl>(FromDC);
1932 RecordDecl *From, RecordDecl *To, ImportDefinitionKind Kind) {
1977 // The RecordDecl may be already part of the AST so it is better to
2150 bool ASTNodeImporter::IsStructuralMatch(RecordDecl *FromRecord,
2151 RecordDecl *ToRecord, bool Complain) {
2156 auto *ToOriginRecord = dyn_cast<RecordDecl>(ToOrigin);
2758 ExpectedDecl ASTNodeImporter::VisitRecordDecl(RecordDecl *D) {
2789 RecordDecl *PrevDecl = nullptr;
2811 if (auto *FoundRecord = dyn_cast<RecordDecl>(Found)) {
2829 RecordDecl *FoundDef = FoundRecord->getDefinition();
2849 } // kind is RecordDecl
2868 RecordDecl *D2 = nullptr;
3202 RecordDecl *RD = RecordT->getDecl();
8136 auto *Owner = dyn_cast<RecordDecl>(F->getDeclContext());
8482 if (auto *ToRecord = dyn_cast<RecordDecl>(ToDC)) {
8483 auto *FromRecord = cast<RecordDecl>(FromDC);
8488 // Simply calling CompleteDecl(...) for a RecordDecl will break some cases
9021 if (auto *ToRecord = dyn_cast<RecordDecl>(To)) {
9024 cast<RecordDecl>(FromDC), ToRecord,