File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ # astyle config: from the scl root dir, use
2+ # astyle --options=misc/astyle.cfg "src/*.c" "src/*.cc" "include/*.h"
3+ # in the above line, the double quotes *are* necessary
4+
5+ # DO NOT run astyle on flex/bison input such as expparse.y and expscan.l!
6+
7+ suffix =none # don't create backup files
8+
9+ style =java # compact bracket style
10+
11+ indent =spaces =4
12+
13+ indent-classes
14+ indent-switches
15+ indent-namespaces
16+ pad-oper # pad (space) around operators
17+ pad-paren-in # pad inside parenthesis
18+ unpad-paren # remove parenthesis padding other than requested above
19+
20+ add-brackets # add brackets on one-line conditionals
21+ convert-tabs # convert all tabs to spaces
22+ align-pointer =middle # char * foo
23+
24+ lineend =linux # lines end with LF (linux), not CRLF (windows)
25+
26+ recursive
27+
You can’t perform that action at this time.
0 commit comments