Skip to content

Commit

Permalink
Add a git pre-commit hook running clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
vlj committed Aug 27, 2016
1 parent bb66b97 commit 1ede5cb
Show file tree
Hide file tree
Showing 3 changed files with 498 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Standard: Cpp11
UseTab: ForIndentation
UseTab: Always
TabWidth: 1
IndentWidth: 1
AccessModifierOffset: -1
PointerAlignment: Left
NamespaceIndentation: All
ColumnLimit: 0
BreakBeforeBraces: Allman
BreakConstructorInitializersBeforeComma: true
BreakConstructorInitializersBeforeComma: false
BreakBeforeBinaryOperators: false
BreakBeforeTernaryOperators: false
AlwaysBreakTemplateDeclarations: true
Expand All @@ -20,7 +20,7 @@ Cpp11BracedListStyle: true
IndentCaseLabels: false
SortIncludes: false
ReflowComments: true
AlignConsecutiveAssignments: true
AlignConsecutiveAssignments: false
AlignTrailingComments: true
AlignAfterOpenBracket: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
Expand Down
Loading

0 comments on commit 1ede5cb

Please sign in to comment.