Skip to content

Commit bfc11dc

Browse files
authored
Merge pull request #4461 from tautschnig/indent-preprocessor-directives
Make clang-format indent nested preprocessor directives
2 parents d460249 + 98f619f commit bfc11dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ ForEachMacros: [
6060
'forall_subtypes',
6161
'Forall_subtypes']
6262
IndentCaseLabels: 'false'
63+
IndentPPDirectives: AfterHash
6364
IndentWidth: '2'
6465
IndentWrappedFunctionNames: 'false'
6566
KeepEmptyLinesAtTheStartOfBlocks: 'false'

0 commit comments

Comments
 (0)