On 04/22/2014 10:17 PM, David Malcolm wrote:

or indeed, something like:

              else if (gimple_switch switch_stmt =
                          dyn_cast <gimple_switch> (stmt))
                {


to avoid an 83-character-wide line :)

Hope that's the appropriate way to split such a line; I can never
remember if one is supposed to put the linebreak before or after the =.

It's supposed to come before, so that the equal sign is at the start of the line. Operators are also supposed to be at the start and not the end. At least the operator part is covered in the coding standards:

<http://www.gnu.org/prep/standards/html_node/Formatting.html>

--
Florian Weimer / Red Hat Product Security Team

Reply via email to