[openssl-project] Style guide updates

Andy Polyakov appro at openssl.org
Fri Jan 26 17:54:24 UTC 2018

> Multiline conditionals, such as in an if, should be broken before the
> logical connector and indented an extra tabstop.  For example:
>     while (this_is_true
>               && that_is_not_false) {
>         frobit();
>         more_stuff();
>     }

One has to recognize that this is if-specific problem. I mean while is
*perfectly* readable without extra indentation. And given that it's not
unthinkable that you exceed line width, enforcing this on cases other
than if can feel excessive. In other words I'd suggest to limit extra
indentation specifically to if cases.

More information about the openssl-project mailing list