Skip to content

util: allow STATIC_ASSERT() everywhere static_assert() is allowed

Eric Engestrom requested to merge eric/mesa:static_assert-everywhere into main

This unnecessary do { ... } while (0) forced it to be typed inside of a function, when it could also be typed outside, for instance next to an enum being verified.

Merge request reports