nir: Wrap pass macros in braces
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Tue, 8 Aug 2023 16:53:39 +0000 (11:53 -0500)
committerMarge Bot <emma+marge@anholt.net>
Sat, 12 Aug 2023 19:27:28 +0000 (19:27 +0000)
commitbb8f14374966f548cd4d17966e79b6bf1959d442
treef169f22496116c753b1729777ddc325b6478c9a1
parent7f6112302b1a10ddbe238a89ef6c14a2f870f1ab
nir: Wrap pass macros in braces

This makes clang-format not mess them up so bad.  It's also probably a
good idea to make sure anything we declare in the macro is properly
scoped.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24382>
src/compiler/nir/nir.h