Skip to content

Commit

Permalink
First cut at the clang-format config, this is not done
Browse files Browse the repository at this point in the history
  • Loading branch information
zwoop committed Jun 18, 2013
1 parent 198f139 commit 237b700
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .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
1 change: 1 addition & 0 deletions ci/rat-excludes.txt
Expand Up @@ -13,6 +13,7 @@ proxy/config/
**/Makefile
**/TODO
.vimrc
.clang-format
.gitignore
**/.gitignore
.git/
Expand Down

0 comments on commit 237b700

Please sign in to comment.