From 2c2f12ba12634270f092b8290f815597c48ed39f Mon Sep 17 00:00:00 2001 From: Mathias Preiner Date: Tue, 24 Oct 2017 10:51:59 -0700 Subject: [PATCH] New clang-format style based on the Google style. (#1264) --- .clang-format | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.clang-format b/.clang-format index 4b3f13fa5..485d65f21 100644 --- a/.clang-format +++ b/.clang-format @@ -1,5 +1,22 @@ --- Language: Cpp BasedOnStyle: Google +AllowShortCaseLabelsOnASingleLine: true +BinPackArguments: false +BinPackParameters: false +BreakBeforeBinaryOperators: NonAssignment +BraceWrapping: + AfterClass: true + AfterControlStatement: true + AfterEnum: true + AfterFunction: true + AfterStruct: true + AfterUnion: true + BeforeCatch: true + BeforeElse: true + SplitEmptyFunction: false + SplitEmptyNamespace: false + SplitEmptyRecord: false +BreakBeforeBraces: Custom ... -- 2.30.2