2022-12-31 17:28:39 +00:00
|
|
|
---
|
|
|
|
Language: Cpp
|
|
|
|
Standard: c++14
|
|
|
|
|
|
|
|
# Note that we cannot use IncludeIsMainRegex functionality, because it
|
|
|
|
# does not support includes in angle brackets (<>)
|
2023-12-31 06:00:46 +00:00
|
|
|
SortIncludes: true
|
2022-12-31 17:28:39 +00:00
|
|
|
IncludeBlocks: Regroup
|
|
|
|
IncludeCategories:
|
2023-12-31 06:00:46 +00:00
|
|
|
- Regex: <catch2/.*\.hpp>
|
2022-12-31 17:28:39 +00:00
|
|
|
Priority: 1
|
2023-12-31 06:00:46 +00:00
|
|
|
- Regex: <.*/.*\.hpp>
|
2022-12-31 17:28:39 +00:00
|
|
|
Priority: 2
|
2023-12-31 06:00:46 +00:00
|
|
|
- Regex: <.*>
|
2022-12-31 17:28:39 +00:00
|
|
|
Priority: 3
|
|
|
|
|
|
|
|
AllowShortBlocksOnASingleLine: Always
|
|
|
|
AllowShortEnumsOnASingleLine: false
|
|
|
|
AllowShortFunctionsOnASingleLine: All
|
|
|
|
AllowShortIfStatementsOnASingleLine: WithoutElse
|
|
|
|
AllowShortLambdasOnASingleLine: Inline
|
|
|
|
|
2023-12-31 06:00:46 +00:00
|
|
|
AccessModifierOffset: "-4"
|
2022-12-31 17:28:39 +00:00
|
|
|
AlignEscapedNewlines: Left
|
2023-12-31 06:00:46 +00:00
|
|
|
AllowAllConstructorInitializersOnNextLine: "true"
|
|
|
|
BinPackArguments: "false"
|
|
|
|
BinPackParameters: "false"
|
2022-12-31 17:28:39 +00:00
|
|
|
BreakConstructorInitializers: AfterColon
|
2023-12-31 06:00:46 +00:00
|
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: "true"
|
|
|
|
DerivePointerAlignment: "false"
|
|
|
|
FixNamespaceComments: "true"
|
|
|
|
IndentCaseLabels: "false"
|
2022-12-31 17:28:39 +00:00
|
|
|
IndentPPDirectives: AfterHash
|
2023-12-31 06:00:46 +00:00
|
|
|
IndentWidth: "4"
|
2022-12-31 17:28:39 +00:00
|
|
|
NamespaceIndentation: All
|
|
|
|
PointerAlignment: Left
|
2023-12-31 06:00:46 +00:00
|
|
|
SpaceBeforeCtorInitializerColon: "false"
|
|
|
|
SpaceInEmptyParentheses: "false"
|
|
|
|
SpacesInParentheses: "true"
|
|
|
|
TabWidth: "4"
|
2022-12-31 17:28:39 +00:00
|
|
|
UseTab: Never
|
2023-12-31 06:00:46 +00:00
|
|
|
AlwaysBreakTemplateDeclarations: Yes
|
|
|
|
SpaceAfterTemplateKeyword: true
|
|
|
|
SortUsingDeclarations: true
|
|
|
|
ReflowComments: true
|