-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-format
38 lines (38 loc) · 1.04 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
32
33
34
35
36
37
38
---
Language: Cpp
BasedOnStyle: Google
AccessModifierOffset: -4
AlignAfterOpenBracket: BlockIndent
AllowShortBlocksOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Inline
AllowShortLoopsOnASingleLine: false
BinPackArguments: false
BinPackParameters: false
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeComma
ColumnLimit: 80
CompactNamespaces: true
ConstructorInitializerAllOnOneLineOrOnePerLine: true
DerivePointerAlignment: false
IncludeBlocks: Merge
IncludeCategories:
- Regex: '^<actl/.*\.hpp>'
SortPriority: 1
- Regex: '^<.*\.h>'
SortPriority: 2
- Regex: '^<.*'
SortPriority: 3
- Regex: '^".*'
SortPriority: 4
IndentWidth: 4
PPIndentWidth: -1
TabWidth: 4
SpaceAfterTemplateKeyword: false
SpacesBeforeTrailingComments: 1
StatementMacros: [
AC_DEDUCE_NOEXCEPT_AND_RETURN,
AC_DEDUCE_NOEXCEPT_DECLTYPE_AND_RETURN,
AC_DEDUCE_NOEXCEPT_REQUIRES_AND_RETURN]
...