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:
Yuval Peress 2023-01-18 22:27:57 -07:00 committed by Lauren Murphy
parent 7965fd2b4a
commit 0f40ddd957
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
---
BasedOnStyle: LLVM
AlignConsecutiveMacros: AcrossComments
AllowShortBlocksOnASingleLine: false
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
@ -79,7 +79,7 @@ IndentCaseLabels: false
IndentWidth: 8
InsertBraces: true
SpaceBeforeParens: ControlStatementsExceptControlMacros
SortIncludes: false
SortIncludes: Never
UseTab: Always
WhitespaceSensitiveMacros:
- STRINGIFY