2017-04-28 04:55:36 +03:00
|
|
|
BasedOnStyle: WebKit
|
|
|
|
Language: Cpp
|
2017-04-28 22:57:15 +03:00
|
|
|
Standard: Cpp11
|
2017-04-28 04:55:36 +03:00
|
|
|
|
|
|
|
UseTab: Never
|
|
|
|
IndentWidth: 4
|
|
|
|
ColumnLimit: 120
|
|
|
|
PointerAlignment: Left
|
|
|
|
|
|
|
|
AllowShortBlocksOnASingleLine: false
|
|
|
|
AllowShortCaseLabelsOnASingleLine: true
|
|
|
|
AllowShortFunctionsOnASingleLine: All
|
|
|
|
AllowShortIfStatementsOnASingleLine: true
|
|
|
|
AllowShortLoopsOnASingleLine: false
|
|
|
|
AlwaysBreakTemplateDeclarations: true
|
|
|
|
AlignAfterOpenBracket: true
|
|
|
|
AlignOperands: true
|
|
|
|
AlignTrailingComments: true
|
|
|
|
BinPackArguments: false
|
|
|
|
BinPackParameters: false
|
|
|
|
BreakBeforeBinaryOperators: None
|
|
|
|
BreakConstructorInitializersBeforeComma: true
|
|
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
2017-04-28 22:55:50 +03:00
|
|
|
Cpp11BracedListStyle: true
|
2017-04-28 04:55:36 +03:00
|
|
|
IndentCaseLabels: true
|
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
|
|
NamespaceIndentation: All
|
2019-07-19 05:07:00 +03:00
|
|
|
ForEachMacros: [TEST_CASE, SECTION]
|
2017-04-28 22:38:13 +03:00
|
|
|
PenaltyReturnTypeOnItsOwnLine: 1000
|
2019-01-19 06:03:37 +03:00
|
|
|
SpaceAfterTemplateKeyword: false
|
|
|
|
SpaceBeforeCpp11BracedList: false
|
2020-07-14 18:50:19 +03:00
|
|
|
DeriveLineEnding: false
|
2020-07-07 02:45:34 +03:00
|
|
|
UseCRLF: false
|
2020-05-30 00:09:03 +03:00
|
|
|
|
2021-08-19 00:51:38 +03:00
|
|
|
BreakBeforeBraces: Custom
|
|
|
|
BraceWrapping:
|
|
|
|
AfterCaseLabel: true
|
|
|
|
AfterClass: true
|
|
|
|
AfterControlStatement: Always
|
|
|
|
AfterEnum: true
|
|
|
|
AfterFunction: true
|
|
|
|
AfterNamespace: true
|
|
|
|
AfterObjCDeclaration: true
|
|
|
|
AfterStruct: true
|
|
|
|
AfterUnion: true
|
|
|
|
AfterExternBlock: true
|
|
|
|
BeforeCatch: true
|
|
|
|
BeforeElse: true
|
|
|
|
BeforeLambdaBody: false
|
|
|
|
BeforeWhile: false
|
|
|
|
IndentBraces: false
|
|
|
|
SplitEmptyFunction: true
|
|
|
|
SplitEmptyRecord: true
|
|
|
|
SplitEmptyNamespace: true
|
|
|
|
|
2020-07-07 02:45:34 +03:00
|
|
|
IncludeBlocks: Regroup
|
|
|
|
IncludeCategories:
|
2023-01-13 05:54:09 +03:00
|
|
|
- Regex: '^(<vcpkg/base/system-headers\.h>|"pch\.h")$'
|
2020-07-07 02:45:34 +03:00
|
|
|
Priority: -1
|
|
|
|
- Regex: '^<catch2/catch\.hpp>$'
|
|
|
|
Priority: 1
|
2023-10-28 03:03:19 +03:00
|
|
|
- Regex: '^<vcpkg-test/util\.h>$'
|
|
|
|
Priority: 1
|
2020-09-02 19:13:44 +03:00
|
|
|
- Regex: '^<vcpkg/base/fwd/.*\.h>$'
|
2020-07-07 02:45:34 +03:00
|
|
|
Priority: 2
|
2020-09-02 19:13:44 +03:00
|
|
|
- Regex: '^<vcpkg/fwd/.*\.h>$'
|
2020-07-07 02:45:34 +03:00
|
|
|
Priority: 3
|
2020-09-02 19:13:44 +03:00
|
|
|
- Regex: '^<vcpkg/base/.*\.h>$'
|
2020-07-07 02:45:34 +03:00
|
|
|
Priority: 4
|
2020-09-02 19:13:44 +03:00
|
|
|
- Regex: '^<vcpkg/.*\.h>$'
|
2020-07-07 02:45:34 +03:00
|
|
|
Priority: 5
|
2021-07-28 06:07:31 +03:00
|
|
|
- Regex: '^(<Softpub\.h>)$'
|
|
|
|
Priority: 8
|
2020-09-02 19:13:44 +03:00
|
|
|
- Regex: '^<[a-z0-9_]*\.h>$'
|
2020-08-20 01:33:15 +03:00
|
|
|
Priority: 6
|
2020-09-02 19:13:44 +03:00
|
|
|
- Regex: '^<[a-z0-9_]*>$' # C++ standard library
|
|
|
|
Priority: 7
|