Skip to content

Commit 2b33286

Browse files
committed
AStyle options updated according JUCE standards
1 parent ba00569 commit 2b33286

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

astyle.options

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717
# mostly conforms to that of the Juce library
1818
# (www.juce.com/wiki/index.php/Coding_Standards).
1919
#
20-
# The biggest difference is with parentheses after functions: Juce uses "foo
21-
# (bar)" except when there's no arguments (e.g. "foo()"), whereas here we
22-
# enforce "foo(bar)" and "foo()."
23-
#
2420
# Some documentation of the options is provided here for convenience. For full
2521
# options documentation, go to astyle.sourceforge.net/astyle.html.
2622

@@ -56,15 +52,19 @@ min-conditional-indent=0
5652
# --don't limit this---->bar);
5753
max-instatement-indent=80
5854

59-
# Remove spaces in and around parentheses (except in front of "headers;" see the
60-
# next rule for that exception).
61-
# Note, this differs from the Juce style!
62-
# Example: foo ( bar, baz ); -> foo(bar, baz);)
63-
unpad-paren
55+
# Insert space padding around the first parenthesis in a series on the outside only.
56+
# Parentheses that are empty will not be padded.
57+
--pad-first-paren-out
6458

6559
# insert a space after if, while, for, etc.
6660
--pad-header
6761

62+
# Insert space padding around operators.
63+
--pad-oper
64+
65+
# Pad empty lines around header blocks (e.g. 'if', 'for', 'while'...).
66+
--break-blocks
67+
6868
# Pointer/reference operators go next to the type (on the left).
6969
align-pointer=type
7070

0 commit comments

Comments
 (0)