Lines Matching refs:RD1
10559 RecordDecl *RD1, in isLayoutCompatibleStruct() argument
10562 if (const CXXRecordDecl *D1CXX = dyn_cast<CXXRecordDecl>(RD1)) { in isLayoutCompatibleStruct()
10589 Field1 = RD1->field_begin(), in isLayoutCompatibleStruct()
10590 Field1End = RD1->field_end(); in isLayoutCompatibleStruct()
10604 RecordDecl *RD1, in isLayoutCompatibleUnion() argument
10610 for (auto *Field1 : RD1->fields()) { in isLayoutCompatibleUnion()
10630 bool isLayoutCompatible(ASTContext &C, RecordDecl *RD1, RecordDecl *RD2) { in isLayoutCompatible() argument
10631 if (RD1->isUnion() != RD2->isUnion()) in isLayoutCompatible()
10634 if (RD1->isUnion()) in isLayoutCompatible()
10635 return isLayoutCompatibleUnion(C, RD1, RD2); in isLayoutCompatible()
10637 return isLayoutCompatibleStruct(C, RD1, RD2); in isLayoutCompatible()