2017-04-27 18:55:36 -07:00
|
|
|
BasedOnStyle: WebKit
|
|
|
|
Language: Cpp
|
2017-04-28 12:57:15 -07:00
|
|
|
Standard: Cpp11
|
2017-04-27 18:55:36 -07: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-28 12:55:50 -07:00
|
|
|
Cpp11BracedListStyle: true
|
2017-04-27 18:55:36 -07:00
|
|
|
IndentCaseLabels: true
|
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
|
|
NamespaceIndentation: All
|
2019-07-18 19:07:00 -07:00
|
|
|
ForEachMacros: [TEST_CASE, SECTION]
|
2017-04-28 12:38:13 -07:00
|
|
|
PenaltyReturnTypeOnItsOwnLine: 1000
|
2019-01-18 19:03:37 -08:00
|
|
|
SpaceAfterTemplateKeyword: false
|
|
|
|
SpaceBeforeCpp11BracedList: false
|
2020-07-14 08:50:19 -07:00
|
|
|
DeriveLineEnding: false
|
2020-07-06 16:45:34 -07:00
|
|
|
UseCRLF: false
|
2020-05-29 14:09:03 -07:00
|
|
|
|
2020-07-06 16:45:34 -07:00
|
|
|
IncludeBlocks: Regroup
|
|
|
|
IncludeCategories:
|
|
|
|
- Regex: '^(<vcpkg/base/system_headers\.h>|"pch\.h")$'
|
|
|
|
Priority: -1
|
|
|
|
- Regex: '^<catch2/catch\.hpp>$'
|
|
|
|
Priority: 1
|
2020-09-02 09:13:44 -07:00
|
|
|
- Regex: '^<vcpkg/base/fwd/.*\.h>$'
|
2020-07-06 16:45:34 -07:00
|
|
|
Priority: 2
|
2020-09-02 09:13:44 -07:00
|
|
|
- Regex: '^<vcpkg/fwd/.*\.h>$'
|
2020-07-06 16:45:34 -07:00
|
|
|
Priority: 3
|
2020-09-02 09:13:44 -07:00
|
|
|
- Regex: '^<vcpkg/base/.*\.h>$'
|
2020-07-06 16:45:34 -07:00
|
|
|
Priority: 4
|
2020-09-02 09:13:44 -07:00
|
|
|
- Regex: '^<vcpkg/.*\.h>$'
|
2020-07-06 16:45:34 -07:00
|
|
|
Priority: 5
|
2020-09-02 09:13:44 -07:00
|
|
|
- Regex: '^<[a-z0-9_]*\.h>$'
|
2020-08-19 15:33:15 -07:00
|
|
|
Priority: 6
|
2020-09-02 09:13:44 -07:00
|
|
|
- Regex: '^<[a-z0-9_]*>$' # C++ standard library
|
|
|
|
Priority: 7
|