Make clang-format indent nested preprocessor directives
Since clang-format 6 there is support to indent preprocessor directives, enabling formatting like ``` #if foo # define bar #endif ```
This commit is contained in:
parent
d460249423
commit
98f619f5b1
|
@ -60,6 +60,7 @@ ForEachMacros: [
|
|||
'forall_subtypes',
|
||||
'Forall_subtypes']
|
||||
IndentCaseLabels: 'false'
|
||||
IndentPPDirectives: AfterHash
|
||||
IndentWidth: '2'
|
||||
IndentWrappedFunctionNames: 'false'
|
||||
KeepEmptyLinesAtTheStartOfBlocks: 'false'
|
||||
|
|
Loading…
Reference in New Issue