add exception for uncuddling brackets
authorMike Frysinger <vapier@gentoo.org>
Fri, 24 Feb 2006 01:18:24 +0000 (01:18 -0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 24 Feb 2006 01:18:24 +0000 (01:18 -0000)
docs/style-guide.txt

index d7d8e5ec7801e9defda951e04ee06a8175db2497..71eb6291444f61aa5441f2114f22ef43e82df9e1 100644 (file)
@@ -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
 ~~~~~~~~~~~~~~~~~~~~~~~~~~