Add CHECK_PARAM as a conditional macro in clang-format

Otherwise, it won't be treated as a conditional expression, and clang-format will automatically move the opening brace to the line below it.
This commit is contained in:
Frank Praznik 2026-04-03 11:47:41 -04:00
parent 5ae1308e5b
commit 045a127572

View file

@ -77,6 +77,11 @@ SpaceInEmptyParentheses: false
UseCRLF: false UseCRLF: false
UseTab: Never UseTab: Never
IfMacros:
[
"CHECK_PARAM",
]
ForEachMacros: ForEachMacros:
[ [
"spa_list_for_each", "spa_list_for_each",