| 202 | } |
| 203 | |
| 204 | bool StructDef::isSame(const StructDef* other) const |
| 205 | { |
| 206 | if (m_label != other->m_label || m_length != other->m_length || |
| 207 | m_fields.count() != other->m_fields.count()) |
| 208 | return false; |
| 209 | |
| 210 | for (int i = 0; i < m_fields.count(); i++) |
| 211 | if (!m_fields[i]->isSame(other->m_fields[i])) |
| 212 | return false; |
| 213 | return true; |
| 214 | } |
| 215 | |
| 216 | QString StructDef::getDiffString(const StructDef* other) const |
| 217 | { |
nothing calls this directly
no outgoing calls
no test coverage detected