Skip to content

Commit

Permalink
mloskot's proposal with initial tweaks to this .clang-format
Browse files Browse the repository at this point in the history
This is intermediate commit to clearly show the .clang-format tweaks
that I'd like to propose to @lpranam 's original.
  • Loading branch information
mloskot authored May 6, 2021
1 parent 321e72c commit a3af622
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Language: Cpp
AccessModifierOffset: -4
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignConsecutiveAssignments: AcrossEmptyLinesAndComments
AlignConsecutiveAssignments: None
AlignConsecutiveBitFields: AcrossEmptyLinesAndComments
AlignConsecutiveDeclarations: None
AlignEscapedNewlines: Right
AlignOperands: true
AlignOperands: AlignAfterOperator
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: false
Expand Down Expand Up @@ -45,7 +45,7 @@ BraceWrapping:
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeBinaryOperators: All
BreakBeforeBraces: Custom
BreakBeforeInheritanceComma: true
BreakInheritanceList: BeforeComma
Expand All @@ -70,7 +70,7 @@ ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Preserve
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<boost/gil'
Priority: 1
Expand All @@ -85,7 +85,7 @@ IncludeIsMainSourceRegex: ''
IndentCaseLabels: false
IndentCaseBlocks: false
IndentGotoLabels: true
IndentPPDirectives: None
IndentPPDirectives: AfterHash
IndentExternBlock: AfterExternBlock
IndentWidth: 4
IndentWrappedFunctionNames: true
Expand All @@ -109,7 +109,7 @@ PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 10
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 100
PenaltyReturnTypeOnItsOwnLine: 100
PenaltyReturnTypeOnItsOwnLine: 500
PointerAlignment: Left
ReflowComments: false
SortIncludes: true
Expand Down

0 comments on commit a3af622

Please sign in to comment.