Debian Codegraph @

.clang-format

raw
1 ---
2 # Complete list of style options can be found at:
3 # http://clang.llvm.org/docs/ClangFormatStyleOptions.html
4
5 BasedOnStyle: Google
6 Standard: Latest
7 IndentWidth: 4
8 TabWidth: 4
9 UseTab: ForIndentation
10 AccessModifierOffset: -4
11
12 DerivePointerAlignment: false
13 PointerAlignment: Right
14
15 IndentCaseLabels: false
16
17 # All enumerators in their own line
18 AllowShortEnumsOnASingleLine: false
19
20 # Respects common/platform.h if it is in a separated group of includes
21 IncludeBlocks: Preserve
22
23 # Clang Format doesn't support adding a semicolon to the end of a single for
24 # loop. Instead, we must use braces until it does.
25 AllowShortLoopsOnASingleLine: true
26 AllowShortBlocksOnASingleLine: Always
27
28 # Avoid breaking string literals
29 BreakStringLiterals: false
30
31 # Use maximum 100 characters per line
32 ColumnLimit: 100
33 ...