Skip to content
Snippets Groups Projects
Commit ae80f376 authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

project-template: update clang-format configuration

parent 5e963a4f
No related branches found
No related tags found
1 merge request!3update project template
......@@ -47,14 +47,30 @@ Language: Cpp
MaxEmptyLinesToKeep: '1'
NamespaceIndentation: All
PenaltyBreakBeforeFirstCallParameter: '1000'
PenaltyBreakComment: '1'
PenaltyBreakComment: '10000'
PenaltyBreakFirstLessLess: '1000'
PenaltyBreakString: '10000'
PenaltyExcessCharacter: '700'
PenaltyReturnTypeOnItsOwnLine: '500'
PointerAlignment: Left
ReflowComments: 'true'
SortIncludes: 'false'
SortIncludes: 'CaseInsensitive'
IncludeBlocks: 'Regroup'
IncludeCategories:
- Regex: '^<ChimeraTK/'
Priority: 2
SortPriority: 2
CaseSensitive: true
- Regex: '^<boost/'
Priority: 3
SortPriority: 3
CaseSensitive: true
- Regex: '<[[:alnum:].]+>'
Priority: 4
SortPriority: 4
- Regex: '.*'
Priority: 1
SortPriority: 0
SortUsingDeclarations: 'false'
SpaceAfterCStyleCast: 'false'
SpaceAfterTemplateKeyword: 'false'
......@@ -66,5 +82,5 @@ SpacesInCStyleCastParentheses: 'false'
SpacesInContainerLiterals: 'true'
SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'
Standard: Cpp11
Standard: c++17
UseTab: Never
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment