File: astylecfg

package info (click to toggle)
soplex 7.1.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 7,568 kB
  • sloc: cpp: 76,923; sh: 1,125; python: 672; makefile: 668; awk: 243; ansic: 93; php: 15
file content (39 lines) | stat: -rw-r--r-- 896 bytes parent folder | download
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
## This config file can be used with [astyle](http://astyle.sourceforge.net/) to auto-format the soplex code
## USAGE: `astyle --options=astylecfg PATH-TO-FILE`


# braces style
--style=allman      # always put braces on new line

# indentation
--indent=spaces=3   # indentation size

# Set the continuation indent for a line that ends with an opening paren '(' or an assignment '='.
--indent-continuation=1

# do we want comments on col1 indented? -> yes
--indent-col1-comments

# empty lines before if/etc.
--break-blocks

# padding around operators (also pads commas like in scip)
--pad-oper

# unpad-paren to not pad outside of parens
 --unpad-paren

# align the star to the type
--align-pointer=type
--align-reference=type

# put one-line headed code on new line
--break-one-line-headers

# convert tabs into spaces -> yes
--convert-tabs

# break long lines
--max-code-length=100

 --mode=c