| 1095 | //----------------------------------------------------------------------------- |
| 1096 | |
| 1097 | int GetGlobalVtablePos(const CXXRecordDecl* record, const CXXRecordDecl* recordB) |
| 1098 | { |
| 1099 | auto iter = std::ranges::find_if( |
| 1100 | gVtables, [&](const auto& e) { return (e.first.first == record) and (e.first.second == recordB); }); |
| 1101 | |
| 1102 | if(iter == gVtables.end()) { |
| 1103 | iter = std::ranges::find_if(gVtables, [&](const auto& e) { return e.first.first == record; }); |
| 1104 | } |
| 1105 | |
| 1106 | return std::distance(gVtables.begin(), iter); |
| 1107 | } |
| 1108 | //----------------------------------------------------------------------------- |
| 1109 | |
| 1110 | void PushVtableEntry(const CXXRecordDecl* record, const CXXRecordDecl* recordB, VarDecl* decl) |
no test coverage detected