mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-04 19:55:19 +00: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:
parent
5ae1308e5b
commit
045a127572
1 changed files with 5 additions and 0 deletions
|
|
@ -77,6 +77,11 @@ SpaceInEmptyParentheses: false
|
|||
UseCRLF: false
|
||||
UseTab: Never
|
||||
|
||||
IfMacros:
|
||||
[
|
||||
"CHECK_PARAM",
|
||||
]
|
||||
|
||||
ForEachMacros:
|
||||
[
|
||||
"spa_list_for_each",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue