aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
blob: b652e192dedb42bd250ed69270e6c93bc14d1526 (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
34
35
36
37
38
39
40
41
42
---
Language: Java
DisableFormat: true
SortIncludes: false
---
Language: Cpp
BasedOnStyle: Google
AlignOperands: false
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AlwaysBreakBeforeMultilineStrings: false
CommentPragmas: NOLINT:.*
ColumnLimit: 100
AccessModifierOffset: -4
IndentWidth: 4
TabWidth: 4
ContinuationIndentWidth: 8
ConstructorInitializerIndentWidth: 6
SpacesBeforeTrailingComments: 2
DerivePointerAlignment: false
PointerAlignment: Left
UseTab: Never
BreakInheritanceList: AfterColon
BreakConstructorInitializers: AfterColon
PenaltyBreakBeforeFirstCallParameter: 100000
IncludeBlocks: Regroup
IncludeCategories:
  - Regex:           '^<[[:alnum:]_]+\.h>'
    Priority:        3
  - Regex:           '^<sys/(auxv|cachectl|capability|cdefs|endian|epoll|errno|eventfd|fcntl|file|fsuid|ifunc|inotify|ioctl|ipc|klog|limits|mman|mount|msg|mtio|param|personality|poll|prctl|procfs|ptrace|queue|quota|random|reboot|reg|resource|select|sem|sendfile|shm|signalfd|signal|socket|statfs|stat|statvfs|swap|syscall|sysconf|sysinfo|syslog|sysmacros|_system_properties|system_properties|thread_properties|time|timerfd|times|timex|ttydefaults|types|ucontext|uio|un|unistd|user|utsname|vfs|vt|wait|xattr)\.h>'
    Priority:        3
  - Regex:           '^<[[:alnum:]_]+>'
    Priority:        4
  - Regex:           '^<.*/[[:alnum:]_]+\.h>$|^<[[:alnum:]_]+\.sysprop\.h>$'
    Priority:        2
  - Regex:           '^".*'
    Priority:        1
---
Language: Proto
BasedOnStyle: Google
ColumnLimit: 100
---