[PATCH] Prefer breaking in places other than '(' for default style

Chandler Carruth chandlerc at google.com
Thu Oct 24 11:15:51 PDT 2013


I think what Eric is aiming at here, and something that I would prefer for
the LLVM style at least, is a change to the relative badness assigned to
two line breaks:

variable = function( // this line break
    argument, argument, argument);

vs.

variable = // this line break
    function(argument, argument, argument);


I think Eric would like the first one to be significantly "badder" than the
second. Is his change actually accomplishing this? Could you point to the
code that would accomplish this so we could evaluate different weights?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131024/c41630bd/attachment.html>


More information about the cfe-commits mailing list