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>
diff --git a/.clang-format b/.clang-format
index 0fbebd8..4d31ab6 100644
--- a/.clang-format
+++ b/.clang-format
@@ -12,7 +12,7 @@
---
BasedOnStyle: LLVM
AlignConsecutiveMacros: AcrossComments
-AllowShortBlocksOnASingleLine: false
+AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
@@ -79,7 +79,7 @@
IndentWidth: 8
InsertBraces: true
SpaceBeforeParens: ControlStatementsExceptControlMacros
-SortIncludes: false
+SortIncludes: Never
UseTab: Always
WhitespaceSensitiveMacros:
- STRINGIFY