Skip to content

Commit

Permalink
.clang-format: Synced with libntech version
Browse files Browse the repository at this point in the history
Set column limit to 79 and break after union keyword.

Changelog: None
Ticket: None
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
  • Loading branch information
olehermanse committed Sep 9, 2019
1 parent ca12153 commit 3c9c6c6
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
BasedOnStyle: Google
---
Language: Cpp
ColumnLimit: 78
ColumnLimit: 79
IndentWidth: 4
TabWidth: 4
UseTab: Never
Expand All @@ -26,6 +26,14 @@ IndentCaseLabels: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
BreakBeforeBraces: Allman
BreakBeforeBraces: Custom
BraceWrapping:
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterStruct: true
AfterUnion: true
BeforeElse: true
SplitEmptyFunction: true
BreakBeforeBinaryOperators: NonAssignment
---

0 comments on commit 3c9c6c6

Please sign in to comment.