From 0c29e46e8956a90e55e2e12e4e20019fc0fad23b Mon Sep 17 00:00:00 2001 From: James Zern <jzern@google.com> Date: Thu, 28 Jan 2016 11:49:14 -0800 Subject: [PATCH] .clang-format: allow single line case statements + change brace behavior to be non-C++11 Change-Id: I25d087da818454019708e7408c5a21a7d966927d --- .clang-format | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.clang-format b/.clang-format index 11b532cab3..1599ff01fc 100644 --- a/.clang-format +++ b/.clang-format @@ -9,7 +9,7 @@ AlignOperands: true AlignTrailingComments: true AllowAllParametersOfDeclarationOnNextLine: true AllowShortBlocksOnASingleLine: false -AllowShortCaseLabelsOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: true AllowShortFunctionsOnASingleLine: All AllowShortIfStatementsOnASingleLine: true AllowShortLoopsOnASingleLine: true @@ -27,7 +27,7 @@ CommentPragmas: '^ IWYU pragma:' ConstructorInitializerAllOnOneLineOrOnePerLine: false ConstructorInitializerIndentWidth: 4 ContinuationIndentWidth: 4 -Cpp11BracedListStyle: true +Cpp11BracedListStyle: false DerivePointerAlignment: true DisableFormat: false ExperimentalAutoDetectBinPacking: false -- GitLab