mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-05 16:45:33 +02:00
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:
@@ -77,6 +77,11 @@ SpaceInEmptyParentheses: false
|
||||
UseCRLF: false
|
||||
UseTab: Never
|
||||
|
||||
IfMacros:
|
||||
[
|
||||
"CHECK_PARAM",
|
||||
]
|
||||
|
||||
ForEachMacros:
|
||||
[
|
||||
"spa_list_for_each",
|
||||
|
||||
Reference in New Issue
Block a user