[cfe-dev] [clang-format] Aligned Formatting of Chained Methods.

Sean Silva silvas at purdue.edu
Fri Aug 23 14:48:25 PDT 2013


Putting empty line comments to force breaks is what I've been told.

-- Sean Silva


On Wed, Aug 21, 2013 at 5:36 PM, Redoubts <redoubts at gmail.com> wrote:

> All,
>
> I'm giving clang-format-3.4 a try, and I'm running into a problem similar
> to this eclipse bug report - but for C++ of course.
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=152444
>
> By default, the formatter turns lines like
> cgicc:form().set(stuff)
>             .set(more_stuff)
>             .set(a_few_stuffs_more);
> into
> cgicc:form().set(stuff).set(more_stuff).set(a_few_stuffs_more);
>
> is there a way to make the formatter not do this?
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130823/8836bfc0/attachment.html>


More information about the cfe-dev mailing list