Permalink
Browse files

Project-wide clang-format.

  • Loading branch information...
1 parent 8b6b210 commit b6f38da232b7eb8dbc1906e7a1f67c0e25852e3c @alamaison committed Jan 30, 2016
Showing with 21 additions and 0 deletions.
  1. +21 −0 .clang-format
View
@@ -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.