Debian Codegraph @

3rdparty/pybind11/.clang-format

raw
1 ---
2 # See all possible options and defaults with:
3 # clang-format --style=llvm --dump-config
4 BasedOnStyle: LLVM
5 AccessModifierOffset: -4
6 AllowShortLambdasOnASingleLine: true
7 AlwaysBreakTemplateDeclarations: Yes
8 BinPackArguments: false
9 BinPackParameters: false
10 BreakBeforeBinaryOperators: All
11 BreakConstructorInitializers: BeforeColon
12 ColumnLimit: 99
13 CommentPragmas: 'NOLINT:.*|^ IWYU pragma:'
14 IncludeBlocks: Regroup
15 IndentCaseLabels: true
16 IndentPPDirectives: AfterHash
17 IndentWidth: 4
18 Language: Cpp
19 SpaceAfterCStyleCast: true
20 Standard: Cpp11
21 StatementMacros: ['PyObject_HEAD']
22 TabWidth: 4
23 IncludeCategories:
24 - Regex: '<pybind11/.*'
25 Priority: -1
26 - Regex: 'pybind11.h"$'
27 Priority: 1
28 - Regex: '^".*/?detail/'
29 Priority: 1
30 SortPriority: 2
31 - Regex: '^"'
32 Priority: 1
33 SortPriority: 3
34 - Regex: '<[[:alnum:]._]+>'
35 Priority: 4
36 - Regex: '.*'
37 Priority: 5
38 ...