Debian Codegraph @

3rdparty/catch2/.clang-format

raw
1 ---
2 Language: Cpp
3 Standard: c++14
4
5 # Note that we cannot use IncludeIsMainRegex functionality, because it
6 # does not support includes in angle brackets (<>)
7 SortIncludes: true
8 IncludeBlocks: Regroup
9 IncludeCategories:
10 - Regex: <catch2/.*\.hpp>
11 Priority: 1
12 - Regex: <.*/.*\.hpp>
13 Priority: 2
14 - Regex: <.*>
15 Priority: 3
16
17 AllowShortBlocksOnASingleLine: Always
18 AllowShortEnumsOnASingleLine: false
19 AllowShortFunctionsOnASingleLine: All
20 AllowShortIfStatementsOnASingleLine: WithoutElse
21 AllowShortLambdasOnASingleLine: Inline
22
23 AccessModifierOffset: "-4"
24 AlignEscapedNewlines: Left
25 AllowAllConstructorInitializersOnNextLine: "true"
26 BinPackArguments: "false"
27 BinPackParameters: "false"
28 BreakConstructorInitializers: AfterColon
29 ConstructorInitializerAllOnOneLineOrOnePerLine: "true"
30 DerivePointerAlignment: "false"
31 FixNamespaceComments: "true"
32 IndentCaseLabels: "false"
33 IndentPPDirectives: AfterHash
34 IndentWidth: "4"
35 NamespaceIndentation: All
36 PointerAlignment: Left
37 SpaceBeforeCtorInitializerColon: "false"
38 SpaceInEmptyParentheses: "false"
39 SpacesInParentheses: "true"
40 TabWidth: "4"
41 UseTab: Never
42 AlwaysBreakTemplateDeclarations: Yes
43 SpaceAfterTemplateKeyword: true
44 SortUsingDeclarations: true
45 ReflowComments: true