summaryrefslogtreecommitdiff
path: root/.clang-format
blob: c2989f89134d75fe150b543c6bd33886b0cf8fa8 (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
Language: Cpp
# BasedOnStyle

TabWidth:          8
UseTab:            Always
IndentWidth:       3
ContinuationIndentWidth: 3
ColumnLimit:       0
BreakBeforeBraces: Allman
AccessModifierOffset: 0
IncludeCategories:
  - Regex:           'apti18n.h'
    Priority:        9999
  - Regex:           'apt-[^/]*/'
    Priority:        20
  - Regex:           '^"'
    Priority:        10
  - Regex:           'config.h'
    Priority:        0
  - Regex:           '(zlib|bzlib|lzma|lz4frame|gtest/gtest|db|gnutls/.*)\.h'
    Priority:        30
  - Regex:           '\.h'
    Priority:        100
  - Regex:           '.*'
    Priority:        99