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 <peress@google.com>
This commit is contained in:
parent
7965fd2b4a
commit
0f40ddd957
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
||||||
---
|
---
|
||||||
BasedOnStyle: LLVM
|
BasedOnStyle: LLVM
|
||||||
AlignConsecutiveMacros: AcrossComments
|
AlignConsecutiveMacros: AcrossComments
|
||||||
AllowShortBlocksOnASingleLine: false
|
AllowShortBlocksOnASingleLine: Never
|
||||||
AllowShortCaseLabelsOnASingleLine: false
|
AllowShortCaseLabelsOnASingleLine: false
|
||||||
AllowShortEnumsOnASingleLine: false
|
AllowShortEnumsOnASingleLine: false
|
||||||
AllowShortFunctionsOnASingleLine: None
|
AllowShortFunctionsOnASingleLine: None
|
||||||
|
@ -79,7 +79,7 @@ IndentCaseLabels: false
|
||||||
IndentWidth: 8
|
IndentWidth: 8
|
||||||
InsertBraces: true
|
InsertBraces: true
|
||||||
SpaceBeforeParens: ControlStatementsExceptControlMacros
|
SpaceBeforeParens: ControlStatementsExceptControlMacros
|
||||||
SortIncludes: false
|
SortIncludes: Never
|
||||||
UseTab: Always
|
UseTab: Always
|
||||||
WhitespaceSensitiveMacros:
|
WhitespaceSensitiveMacros:
|
||||||
- STRINGIFY
|
- STRINGIFY
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue