6397a0d49c
Our clang-format-5.0.0 does sorting in a way different to clang-format from git, so prepare for that unwanted change now. There are two differences: - newer clang-format does uniq sort - the ordering also differs, e.g. 'librevenge::RVNGInputStream' used to be ordered before 'librevenge::RVNG_SEEK_CUR', now it's ordered after that Turning the sorting off is always possible, i.e. running solenv/clang-format/reformat-formatted-files after this change results in no changes. Change-Id: I146874d4d5a9ad1c45826285fdc798fec77d6ade Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89480 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
48 lines
1.5 KiB
YAML
48 lines
1.5 KiB
YAML
AccessModifierOffset: -4
|
|
ConstructorInitializerIndentWidth: 4
|
|
AlignEscapedNewlinesLeft: false
|
|
AlignTrailingComments: false
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
AllowShortLoopsOnASingleLine: false
|
|
AlwaysBreakTemplateDeclarations: false
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
BreakBeforeBinaryOperators: true
|
|
BreakBeforeTernaryOperators: true
|
|
BreakConstructorInitializersBeforeComma: true
|
|
BinPackParameters: true
|
|
ColumnLimit: 100
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
DerivePointerBinding: false
|
|
ExperimentalAutoDetectBinPacking: false
|
|
IndentCaseLabels: true
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
MaxEmptyLinesToKeep: 1
|
|
NamespaceIndentation: None
|
|
FixNamespaceComments: false
|
|
ObjCSpaceBeforeProtocolList: true
|
|
PenaltyBreakBeforeFirstCallParameter: 19
|
|
PenaltyBreakComment: 60
|
|
PenaltyBreakString: 1000
|
|
PenaltyBreakFirstLessLess: 120
|
|
PenaltyExcessCharacter: 1000000
|
|
PenaltyReturnTypeOnItsOwnLine: 60
|
|
PointerBindsToType: true
|
|
ReflowComments: false
|
|
SpacesBeforeTrailingComments: 1
|
|
Cpp11BracedListStyle: false
|
|
Standard: Cpp11
|
|
IndentWidth: 4
|
|
TabWidth: 8
|
|
UseTab: Never
|
|
BreakBeforeBraces: Allman
|
|
IndentFunctionDeclarationAfterType: false
|
|
SpacesInParentheses: false
|
|
SpacesInAngles: false
|
|
SpaceInEmptyParentheses: false
|
|
SpacesInCStyleCastParentheses: false
|
|
SpaceAfterControlStatementKeyword: true
|
|
SpaceBeforeAssignmentOperators: true
|
|
ContinuationIndentWidth: 4
|
|
SortIncludes: false
|
|
SortUsingDeclarations: false
|