summaryrefslogtreecommitdiff
path: root/.clang-format
blob: 03e32b4c173d9022f3e3240572fc6cf36f80e837 (plain)
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
---
BasedOnStyle: LLVM
ColumnLimit: 120
IndentWidth: 4
InsertNewlineAtEOF: true
KeepEmptyLines:
  AtEndOfFile: true
AlignAfterOpenBracket: true
AlignConsecutiveAssignments: Consecutive
AlignConsecutiveBitFields: Consecutive
AlignConsecutiveDeclarations: Consecutive
AlignArrayOfStructures: Left
BinPackArguments: false
BinPackParameters: OnePerLine
DerivePointerAlignment: false
IncludeBlocks: Merge
IncludeCategories:
  - Regex:        '<.*\.h>'
    Priority:     2
  - Regex:        '<.*>'
    Priority:     3
  - Regex:        '".*"'
    Priority:     4
PointerAlignment: Right
SortIncludes: true
SpacesBeforeTrailingComments: 2
---
Language: Cpp
AccessModifierOffset: -4
BreakConstructorInitializers: AfterColon
PackConstructorInitializers: CurrentLine
ReferenceAlignment: Left
---