diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2017-10-24 10:51:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-24 10:51:59 -0700 |
commit | 2c2f12ba12634270f092b8290f815597c48ed39f (patch) | |
tree | 22acb64e135b323847ba9f414dc89e5649f431f9 /.clang-format | |
parent | 00e75cb0c6aedab34740b7feadb512ea3c0c7f3d (diff) |
New clang-format style based on the Google style. (#1264)
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 17 |
1 files changed, 17 insertions, 0 deletions
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 ... |