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