Skip to content

Commit

Permalink
Project-wide clang-format.
Browse files Browse the repository at this point in the history
  • Loading branch information
alamaison committed Jan 30, 2016
1 parent 8b6b210 commit b6f38da
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .clang-format
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,21 @@
---
AccessModifierOffset: '-4'
AllowShortFunctionsOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: 'true'
BreakBeforeBraces: Allman
ColumnLimit: '80'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
ForEachMacros: [ foreach, BOOST_FOREACH ]
IndentWidth: '4'
MacroBlockBegin: "^[A-Z_]+_BEGIN$"
MacroBlockEnd: "^[A-Z_]+_END(?)?$"
MaxEmptyLinesToKeep: '1'
NamespaceIndentation: None
PointerAlignment: Left
SpaceAfterControlStatementKeyword: true
SpaceBeforeAssignmentOperators: true
SpacesInAngles: false
SpacesInParentheses: false
UseTab: Never

...

0 comments on commit b6f38da

Please sign in to comment.