MCPcopy Create free account
hub / github.com/aldelaro5/dolphin-memory-engine / isSame

Method isSame

Source/Structs/StructDef.cpp:204–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204bool 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
216QString StructDef::getDiffString(const StructDef* other) const
217{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected