forked from sPHENIX-Collaboration/acts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-format
30 lines (30 loc) · 1015 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
---
BasedOnStyle: Google
Language: Cpp
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
PointerAlignment: Left
ColumnLimit: 80
IncludeCategories:
# This is a bugfix/compatibility header that must come first
- Regex: '^(<|")Acts/Utilities/detail/ReferenceWrapperAnyCompat.hpp'
Priority: -2
# boost/test is special and must be included at the top
- Regex: '^(<|")boost/test/.*'
Priority: -1
# Acts headers before system headers to ensure that they include what they use
- Regex: '^(<|")Acts.*'
Priority: 1
- Regex: '^(<|")ACTFW/.*'
Priority: 1
# standard library includes: '<...>' without any '/' or '.' in the path
- Regex: '^<[^/.]*>'
Priority: 2
# other system includes: '<...>' without further conditions
- Regex: '^<.*>'
Priority: 3
# all headers not explicitely listed will be assigned to the last group
---