Skip to content

Commit

Permalink
Added clang-format file
Browse files Browse the repository at this point in the history
  • Loading branch information
aniemetz committed May 4, 2018
1 parent 1108cc8 commit bb1a6c6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .clang-format
@@ -0,0 +1,23 @@
---
Language: Cpp
BasedOnStyle: Google
SpaceAfterCStyleCast: true
AlignConsecutiveAssignments: true
AllowShortCaseLabelsOnASingleLine: true
AlwaysBreakAfterReturnType: TopLevelDefinitions
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: NonAssignment
BraceWrapping:
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterStruct: true
AfterUnion: true
BeforeCatch: true
BeforeElse: true
BreakBeforeBraces: Custom
CommentPragmas: '^\w*(:param|:return|\.\. note)'
SpaceBeforeParens: Always
...

0 comments on commit bb1a6c6

Please sign in to comment.