2017-04-28 09:55:36 +08:00
|
|
|
BasedOnStyle: WebKit
|
|
|
|
Language: Cpp
|
2017-04-29 03:57:15 +08:00
|
|
|
Standard: Cpp11
|
2017-04-28 09:55:36 +08:00
|
|
|
|
|
|
|
UseTab: Never
|
|
|
|
IndentWidth: 4
|
|
|
|
ColumnLimit: 120
|
|
|
|
PointerAlignment: Left
|
|
|
|
|
|
|
|
BreakBeforeBraces: Allman
|
|
|
|
|
|
|
|
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-29 03:55:50 +08:00
|
|
|
Cpp11BracedListStyle: true
|
2017-04-28 09:55:36 +08:00
|
|
|
IndentCaseLabels: true
|
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
|
|
NamespaceIndentation: All
|
2019-07-19 10:07:00 +08:00
|
|
|
ForEachMacros: [TEST_CASE, SECTION]
|
2017-04-29 03:38:13 +08:00
|
|
|
PenaltyReturnTypeOnItsOwnLine: 1000
|
2019-01-19 11:03:37 +08:00
|
|
|
SpaceAfterTemplateKeyword: false
|
|
|
|
SpaceBeforeCpp11BracedList: false
|
2020-07-07 07:45:34 +08:00
|
|
|
UseCRLF: false
|
2020-05-30 05:09:03 +08:00
|
|
|
|
2020-07-07 07:45:34 +08:00
|
|
|
IncludeBlocks: Regroup
|
|
|
|
IncludeCategories:
|
|
|
|
- Regex: '^(<vcpkg/base/system_headers\.h>|"pch\.h")$'
|
|
|
|
Priority: -1
|
|
|
|
- Regex: '^<catch2/catch\.hpp>$'
|
|
|
|
Priority: 1
|
|
|
|
- Regex: '^<vcpkg/base/*\.h>$'
|
|
|
|
Priority: 2
|
|
|
|
- Regex: '^<vcpkg/*\.h>$'
|
|
|
|
Priority: 3
|
|
|
|
- Regex: '^<[a-z0-9_]*\.h>$'
|
|
|
|
Priority: 4
|
|
|
|
- Regex: '^<[a-z0-9_]*>$' # C++ standard library
|
|
|
|
Priority: 5
|