clang-format: add more whitespace sensitive macros
An issue with some macros is that a space is added to conditional expansions. Prevent some of these macros to get formatted. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
44973d8974
commit
0d95e2e9e8
|
@ -101,5 +101,10 @@ SpaceBeforeParens: ControlStatementsExceptControlMacros
|
|||
SortIncludes: Never
|
||||
UseTab: ForContinuationAndIndentation
|
||||
WhitespaceSensitiveMacros:
|
||||
- COND_CODE_0
|
||||
- COND_CODE_1
|
||||
- IF_DISABLED
|
||||
- IF_ENABLED
|
||||
- LISTIFY
|
||||
- STRINGIFY
|
||||
- Z_STRINGIFY
|
||||
|
|
Loading…
Reference in New Issue