Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

First cut at the clang-format config, this is not done

  • Loading branch information...
commit 237b700c3a84a96f58df0f907822ad04318c409f 1 parent 198f139
@zwoop zwoop authored
Showing with 26 additions and 0 deletions.
  1. +25 −0 .clang-format
  2. +1 −0  ci/rat-excludes.txt
View
25 .clang-format
@@ -0,0 +1,25 @@
+# BasedOnStyle: LLVM
+AccessModifierOffset: -2
+AlignEscapedNewlinesLeft: true
+AllowAllParametersOfDeclarationOnNextLine: false
+AllowShortIfStatementsOnASingleLine: false
+AllowShortLoopsOnASingleLine: false
+AlwaysBreakTemplateDeclarations: false
+BinPackParameters: true
+ColumnLimit: 120
+ConstructorInitializerAllOnOneLineOrOnePerLine: true
+DerivePointerBinding: false
+IndentCaseLabels: false
+MaxEmptyLinesToKeep: 2
+ObjCSpaceBeforeProtocolList: true
+PenaltyBreakComment: 45
+PenaltyBreakString: 1000
+PenaltyExcessCharacter: 1000000
+PenaltyReturnTypeOnItsOwnLine: 0
+PointerBindsToType: true
+SpacesBeforeTrailingComments: 4
+SpacesInBracedLists: true
+Standard: C++03
+IndentWidth: 2
+UseTab: false
+BreakBeforeBraces: Linux
View
1  ci/rat-excludes.txt
@@ -13,6 +13,7 @@ proxy/config/
**/Makefile
**/TODO
.vimrc
+.clang-format
.gitignore
**/.gitignore
.git/
Please sign in to comment.
Something went wrong with that request. Please try again.