refactor: Use isFlag where possible instead of bitwise math (#7278)

This commit is contained in:
Mayukha Vadari
2026-05-15 10:00:13 -04:00
committed by GitHub
parent 15b3ed1ae7
commit 028f0cb5da
49 changed files with 242 additions and 314 deletions

View File

@@ -34,7 +34,7 @@ Flags::operator()(Env& env) const
}
else if (sle->isFieldPresent(sfFlags))
{
env.test.expect((sle->getFieldU32(sfFlags) & mask_) == mask_);
env.test.expect(sle->isFlag(mask_));
}
else
{