forked from allpix-squared/allpix-squared
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
37 lines (36 loc) · 965 Bytes
/
.clang-format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# SPDX-FileCopyrightText: 2016-2023 CERN and the Allpix Squared authors
# SPDX-License-Identifier: CC0-1.0
---
Language: Cpp
Standard: c++17
BasedOnStyle: LLVM
SortIncludes: true
AccessModifierOffset: -4
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AllowShortIfStatementsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
BinPackParameters: false
BinPackArguments: false
ColumnLimit: 125
ConstructorInitializerAllOnOneLineOrOnePerLine: false
DerivePointerAlignment: false
ExperimentalAutoDetectBinPacking: false
IncludeCategories:
- Regex: '^<.*'
Priority: 1
- Regex: '^<.*\.h*>'
Priority: 2
- Regex: '.*'
Priority: 3
IncludeIsMainRegex: '([-_](test|unittest))?$'
IndentCaseLabels: false
NamespaceIndentation: All
PointerAlignment: Left
SpaceBeforeParens: Never
Cpp11BracedListStyle: true
IndentWidth: 4
TabWidth: 4
UseTab: Never
ContinuationIndentWidth: 4
...