1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

Update clang-format with fixing namespace coments, and separate definition blocks

(cherry picked from commit 41bf87ec70)
This commit is contained in:
Graham Christensen 2025-07-17 12:09:33 -04:00 committed by Sergei Zimmerman
parent 91141aa76d
commit 7b97377ac3

View file

@ -8,7 +8,7 @@ BraceWrapping:
AfterUnion: true AfterUnion: true
SplitEmptyRecord: false SplitEmptyRecord: false
PointerAlignment: Middle PointerAlignment: Middle
FixNamespaceComments: false FixNamespaceComments: true
SortIncludes: Never SortIncludes: Never
#IndentPPDirectives: BeforeHash #IndentPPDirectives: BeforeHash
SpaceAfterCStyleCast: true SpaceAfterCStyleCast: true
@ -32,3 +32,4 @@ IndentPPDirectives: AfterHash
PPIndentWidth: 2 PPIndentWidth: 2
BinPackArguments: false BinPackArguments: false
BreakBeforeTernaryOperators: true BreakBeforeTernaryOperators: true
SeparateDefinitionBlocks: Always