Re: [cfe-users] clang-format option to not break lines at operator ->

2017-06-25 Thread Mikhail Artemyev via cfe-users
Hi Csaba, I can think of several possible results that look better (to me) than the current one: int func() { aaa = bb->cc( SomeNamespace::Function(?"":"")).gg(); } OR int func() { aaa = bb->cc( Som

Re: [cfe-users] clang-format option to not break lines at operator ->

2017-06-24 Thread Csaba Raduly via cfe-users
Hi Mikhail, On Thu, Jun 22, 2017 at 11:44 PM, Mikhail Artemyev via cfe-users wrote: > Hi All, > > I am currently trying to beatify a reasonably large code base, and I am > quite surprised about how clang-format breaks long lines where there is a > '->' operator. > > Example: > % cat test.cpp > in

Re: [cfe-users] clang-format option to not break lines at operator ->

2017-06-22 Thread Mikhail Artemyev via cfe-users
Hi All, I am currently trying to beatify a reasonably large code base, and I am quite surprised about how clang-format breaks long lines where there is a '->' operator. Example: % cat test.cpp int func() { aaa = bb->cc(SomeNamespace::Function( ?"":"f