File: gnu.ini

package info (click to toggle)
astyle 3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,620 kB
  • sloc: cpp: 16,120; makefile: 445
file content (31 lines) | stat: -rwxr-xr-x 613 bytes parent folder | download | duplicates (2)
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
# Gnu Coding Style Options
# https://www.gnu.org/prep/standards/html_node/Writing-C.html#Writing-C
# Based on an old AStyle release and examples from the above GNU Coding Standards.

# braces and indent
style=gnu
indent=spaces=2

# indentation
min-conditional-indent=0
max-continuation-indent=80

# padding
pad-oper
pad-first-paren-out
pad-header
unpad-paren
align-pointer=name

# formatting
break-one-line-headers
keep-one-line-blocks
keep-one-line-statements
convert-tabs

# objective-c
pad-method-prefix
pad-return-type
unpad-param-type
align-method-colon
pad-method-colon=after