projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b6edf9
)
add exception for uncuddling brackets
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 24 Feb 2006 01:18:24 +0000
(
01:18
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Fri, 24 Feb 2006 01:18:24 +0000
(
01:18
-0000)
docs/style-guide.txt
patch
|
blob
|
history
diff --git
a/docs/style-guide.txt
b/docs/style-guide.txt
index d7d8e5ec7801e9defda951e04ee06a8175db2497..71eb6291444f61aa5441f2114f22ef43e82df9e1 100644
(file)
--- a/
docs/style-guide.txt
+++ b/
docs/style-guide.txt
@@
-126,6
+126,15
@@
between it and the opening control block statement. Examples:
do {
+Exceptions:
+
+ - if you have long logic statements that need to be wrapped, then uncuddling
+ the bracket to improve readability is allowed:
+
+ if (some_really_long_checks && some_other_really_long_checks \
+ && some_more_really_long_checks)
+ {
+ do_foo_now;
Spacing around Parentheses
~~~~~~~~~~~~~~~~~~~~~~~~~~