Skip to content

Commit e13e947

Browse files
committed
.clang-format: Require a newline at the EOF
We require a newline at the enf of each file. Add "InsertNewlineAtEOF", which is added clang-format 16. Signed-off-by: Yasushi SHOJI <[email protected]>
1 parent 66ec4b3 commit e13e947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ IndentExternBlock: AfterExternBlock
100100
IndentRequires: false
101101
IndentWidth: 4
102102
IndentWrappedFunctionNames: false
103+
InsertNewlineAtEOF: true
103104
InsertTrailingCommas: None
104105
JavaScriptQuotes: Leave
105106
JavaScriptWrapImports: true
@@ -195,4 +196,3 @@ WhitespaceSensitiveMacros:
195196
- NS_SWIFT_NAME
196197
- CF_SWIFT_NAME
197198
...
198-

0 commit comments

Comments
 (0)