Skip to content

Commit

Permalink
Adjust style for Hera
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Apr 29, 2019
1 parent 7b1edd1 commit 59a78ee
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ Language: Cpp
BasedOnStyle: Chromium
AccessModifierOffset: -2
AlignAfterOpenBracket: DontAlign
BinPackParameters: true
AllowShortFunctionsOnASingleLine: InlineOnly
AllowShortIfStatementsOnASingleLine: false
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
AfterClass: true
AfterControlStatement: true
Expand All @@ -18,6 +21,8 @@ BraceWrapping:
SplitEmptyFunction: false
BreakBeforeBraces: Custom
BreakBeforeTernaryOperators: false
BreakConstructorInitializers: BeforeColon
BreakInheritanceList: AfterColon
ColumnLimit: 100
ConstructorInitializerIndentWidth: 2
IncludeCategories:
Expand All @@ -33,9 +38,10 @@ IncludeCategories:
Priority: 4
IncludeIsMainRegex: '(Test)?$'
IndentCaseLabels: false
IndentWidth: 2
IndentWidth: 4
ContinuationIndentWidth: 4
MaxEmptyLinesToKeep: 2
NamespaceIndentation: None
PenaltyBreakAssignment: 1
PenaltyBreakComment: 50
TabWidth: 2
Expand Down

0 comments on commit 59a78ee

Please sign in to comment.