From 045a127572fb53b3ee8cce3d56de2410b52dc650 Mon Sep 17 00:00:00 2001 From: Frank Praznik Date: Fri, 3 Apr 2026 11:47:41 -0400 Subject: [PATCH] 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. --- .clang-format | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.clang-format b/.clang-format index 4e932d022d..c3c963c725 100644 --- a/.clang-format +++ b/.clang-format @@ -77,6 +77,11 @@ SpaceInEmptyParentheses: false UseCRLF: false UseTab: Never +IfMacros: + [ + "CHECK_PARAM", + ] + ForEachMacros: [ "spa_list_for_each",