Re: clang-format output in branch kevin/clang-format

Alejandro Colomar via Mutt-dev <[email protected]>
Newsgroups gmane.mail.mutt.devel
Message-ID <acaOzHkpUMg4wGS0@devuan>
Hi Kevin,

On 2026-03-27T21:05:04+0800, Kevin J. McCarthy wrote:
> On Sun, Mar 22, 2026 at 05:45:10PM +0800, Kevin J. McCarthy wrote:
> > The output is pretty much what I mentioned earlier.  There are some
> > places where the formatting isn't great.  But (IMO) overall it smoothed
> > things over for the variations in the code.  I'll let you judge though.
> 
> I've let this sit all week, so hopefully that's long enough to give everyone
> a chance to chime in.
> 
> I've decided for now to drop the clang-format cleanup.  If its output was
> better quality, it would have been nice to have.  But it behaves weirdly,
> and if we leave the .clang-format config in there, I'm afraid we'll be
> encouraging source files to be automatically reformatted by potential patch
> submitters.
> 
> However, I've spent this evening scripting two formatting changes I would
> like to make manually.  One is fixing 'int* foo' to 'int *foo' in those
> places in the code that do that.  Two is removing the space before parens in
> funcalls.
> 
> I need tomorrow, and perhaps Sunday to go through the results and clean some
> places up, but I expect to send patches Sunday or Monday.  It's not as
> awesome as a full format tidy, but I think those two things will have a nice
> overall effect on the code.

+1  Thanks!


Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmnGjuAACgkQ64mZXMKQ
wqmZvg//S1HMz2cjturyz0T5IZKw9qUEYE51smrU6v+eNLGnpnBBAw5Cz5hSKdFI
bbF9xnHV5xkk09ZOH9Y9xUUeQOMWIsm+0+zUpPkMf3cheBlwhSsNSK27w7H1vrpY
FxGUXAqVjkqh7+uNpdzEYjtUkN6lmm2gkW49uWVn6LLjdd2s59gVsRTx0o4VAq5K
ayaeCbDb4LL1NoOl2UPqCXn6jsZPMpyPSkAUXxc8Bql1VhIUl2cYEkKjgueu/5jm
+fAHj0s+6X1J9e8AzGv11rtqipaLUJCf15xaLzrJu2D7PfHK1GEVs/3LYo2GSyMm
SHxqk+2O8OGkXVMOgG99TN9hTrCB6kK+gUVFlNlfZQfXCgs9sPUj6vtEkvdNtwmq
vJqri8Cm98DAZlhHx3rRkDEGTN7neeW8BGE7rwr6vr7CBvIIB31ePNDiamROyogX
W2vWAJR5ym0KrYv1eBVw76M2MX2CP3F36QUfple1UXaygrvlogHiTDxrZ/HLbduL
H7TmSvI0O/u2Dqv1fInT2K4VyqvniQUg4/qK6G7RPdOSM+D7HmSPU8oF3JlmxH9B
SNzib4Wqiwz9IFDt4LVzq963Cl1lQnGuvyWy0vOPOnVeBY8z1p6FHrUoCFjffjRo
APWlZgMtBuTjQ71wblTds1VlWb2zpK1LFSmcy6x7zlmKiT0AG0c=
=le/o
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.