.clang-format: allow single line case statements + change brace behavior to be non-C++11 Change-Id: I25d087da818454019708e7408c5a21a7d966927d
diff --git a/.clang-format b/.clang-format index 11b532c..1599ff0 100644 --- a/.clang-format +++ b/.clang-format
@@ -9,7 +9,7 @@ AlignTrailingComments: true AllowAllParametersOfDeclarationOnNextLine: true AllowShortBlocksOnASingleLine: false -AllowShortCaseLabelsOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: true AllowShortFunctionsOnASingleLine: All AllowShortIfStatementsOnASingleLine: true AllowShortLoopsOnASingleLine: true @@ -27,7 +27,7 @@ ConstructorInitializerAllOnOneLineOrOnePerLine: false ConstructorInitializerIndentWidth: 4 ContinuationIndentWidth: 4 -Cpp11BracedListStyle: true +Cpp11BracedListStyle: false DerivePointerAlignment: true DisableFormat: false ExperimentalAutoDetectBinPacking: false