File: .clang-format

package info (click to toggle)
gxr 0.15.1-2~bpo10+1
  • links: PTS, VCS
  • area: main
  • in suites: buster-backports
  • size: 1,728 kB
  • sloc: ansic: 15,256; sh: 72; xml: 71; awk: 35; makefile: 12
file content (28 lines) | stat: -rw-r--r-- 972 bytes parent folder | download | duplicates (4)
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
---
Language:        Cpp
# BasedOnStyle:  Mozilla
AllowShortFunctionsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
DerivePointerAlignment: false
IndentWidth: 2
SpacesBeforeTrailingComments: 2
ColumnLimit: 80
BreakBeforeBraces: GNU
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
BinPackParameters: false
BinPackArguments: true # false for parameters in function *calls* each on a new line
IndentWrappedFunctionNames: false
SpaceBeforeParens: Always
# AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true

PointerAlignment: Right
# Note: PointerAlignment: Right is not implemented, you need to fix the asterisks yourself
# https://stackoverflow.com/questions/32682426/clang-format-align-function-parameter-names#comment83837294_48407310
# https://stackoverflow.com/a/40312667
...