forked from acts-project/acts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
31 lines (31 loc) · 1.02 KB
/
.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
---
BasedOnStyle: Google
Language: Cpp
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
PointerAlignment: Left
ColumnLimit: 80
CommentPragmas: '[@\\].*'
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: '^(<|")ActsExamples/.*'
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 explicitly listed will be assigned to the last group
---