summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2017-10-24 10:51:59 -0700
committerGitHub <noreply@github.com>2017-10-24 10:51:59 -0700
commit2c2f12ba12634270f092b8290f815597c48ed39f (patch)
tree22acb64e135b323847ba9f414dc89e5649f431f9
parent00e75cb0c6aedab34740b7feadb512ea3c0c7f3d (diff)
New clang-format style based on the Google style. (#1264)
-rw-r--r--.clang-format17
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
...
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback