Skip to content

Commit 0f40ddd

Browse files
yperesslaurenmurphyx64
authored andcommitted
tools: Fix clang-format values
According to the clang-format documentation some values in our .clang-format are incorrect. See: - https://clang.llvm.org/docs/ClangFormatStyleOptions.html#allowshortblocksonasingleline - https://clang.llvm.org/docs/ClangFormatStyleOptions.html#sortincludes Signed-off-by: Yuval Peress <[email protected]>
1 parent 7965fd2 commit 0f40ddd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.clang-format

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
---
1313
BasedOnStyle: LLVM
1414
AlignConsecutiveMacros: AcrossComments
15-
AllowShortBlocksOnASingleLine: false
15+
AllowShortBlocksOnASingleLine: Never
1616
AllowShortCaseLabelsOnASingleLine: false
1717
AllowShortEnumsOnASingleLine: false
1818
AllowShortFunctionsOnASingleLine: None
@@ -79,7 +79,7 @@ IndentCaseLabels: false
7979
IndentWidth: 8
8080
InsertBraces: true
8181
SpaceBeforeParens: ControlStatementsExceptControlMacros
82-
SortIncludes: false
82+
SortIncludes: Never
8383
UseTab: Always
8484
WhitespaceSensitiveMacros:
8585
- STRINGIFY

0 commit comments

Comments
 (0)