fix(ci): enable clang-tidy bugprone-macro-parentheses (#26722)

Signed-off-by: kuralme <kuralme@protonmail.com>
This commit is contained in:
Ege Kural authored and GitHub committed 2026-03-12 12:42:07 -08:00
1 parent 11700382f6
commit 4a33fb169f
5 files changed
+6 -7

No files matched your search

@@ -645,7 +645,7 @@ int uORBTest::UnitTest::test_wrap_around()
}
#define CHECK_COPY(i_got, i_correct) \
orb_copy(ORB_ID(orb_test_medium_wrap_around), sfd, &u); \
if (i_got != i_correct) { \
if ((i_got) != (i_correct)) { \
return test_fail("got wrong element from the queue (got %i, should be %i)", i_got, i_correct); \
}
@@ -875,7 +875,7 @@ int uORBTest::UnitTest::test_queue()
}
#define CHECK_COPY(i_got, i_correct) \
orb_copy(ORB_ID(orb_test_medium_queue), sfd, &u); \
if (i_got != i_correct) { \
if ((i_got) != (i_correct)) { \
return test_fail("got wrong element from the queue (got %i, should be %i)", i_got, i_correct); \
}