diff options
| author | Coleman McFarland <43583445+dontlaugh@users.noreply.github.com> | 2025-02-02 20:32:07 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-02 20:32:07 -0500 |
| commit | f4439053787208bac2336ce999baa2afc7a0a2cb (patch) | |
| tree | 68bf680257ef33fbebe2b2a9f3216666abe678bb /rc/tools/python | |
| parent | d92496449d0c9655253ad16363685bb8446dc582 (diff) | |
Change kak_assert macro to silence a clang-tidy warning
When KAK_DEBUG is false (release mode), clang tidy emits a
warning when we pass a pointer to kak_assert. It's mad about
passing a pointer to `sizeof`.
We can avoid this warning by using `alignof(decltype(...))`. It
will still type-check the expression.
Diffstat (limited to 'rc/tools/python')
0 files changed, 0 insertions, 0 deletions
