[PATCH] Prefer breaking in places other than '(' for default style
djasper at google.com
Thu Oct 24 11:22:41 PDT 2013
Yes, his change does that. All that I am asking is to not hard-code this
but instead introduce a style-dependent value. I can pick this up
tomorrow.. Should be a very straight-forward patch.
On Thu, Oct 24, 2013 at 8:15 PM, Chandler Carruth <chandlerc at google.com>wrote:
> 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);
> 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?
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits