blob: 211b008ec04d27d75df8fa28f62f36d12a7c0937 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# This is an astyle (http://astyle.sourceforge.net/) options file you
# can use to autoformat code roughly along the lines of libmaple's
# style guidelines. "Roughly" in the sense that if you use it on code
# that wildly differs from the libmaple style, the patch stands a much
# better chance of not getting held up for trivial reasons.
#
# Use it like this:
#
# $ astyle --options=contrib/astylerc <your_source_file>
#
# It needs astyle version 2; versions 1.x are missing some of these
# options.
--indent=spaces=4
--style=attach
--indent-namespaces
--pad-oper
--pad-header
--unpad-paren
--align-pointer=name
--indent-preprocessor
--lineend=linux
|