Skip to content

Commit 17d217d

Browse files
lolyuqiluo-msft
authored andcommitted
Enhance clang format (#46)
Approach What is the motivation for this PR? Fix current clang-format file: 1. disable includes sorting 2. always put class braces into a new line.
1 parent c72fa2a commit 17d217d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.clang-format

+2
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ BraceWrapping:
2828
BeforeCatch: false
2929
AfterFunction: true
3030
AfterNamespace: true
31+
AfterClass: true
3132
# no line width limit
3233
ColumnLimit: 0
3334
KeepEmptyLinesAtTheStartOfBlocks: true
3435
SortIncludes: true
3536
SpacesBeforeTrailingComments: 1
3637
# always break an open bracket, place closing bracket on a new line
3738
AlignAfterOpenBracket: BlockIndent
39+
SortIncludes: false

0 commit comments

Comments
 (0)