[RFC] Formatting our .c and .h files with clang-format

Augie Fackler raf at durin42.com
Fri Sep 25 19:38:20 CDT 2015


> On Sep 25, 2015, at 8:09 PM, Bryan O'Sullivan <bos at serpentine.com> wrote:
> 
> On Mon, Sep 14, 2015 at 12:03 PM, Augie Fackler <raf at durin42.com> wrote:
> I've
> created a clang-format file that is *close* to what we already do
> (http://hg.durin42.com/hg-wip/rev/aaeda7971cdb) and have wired up
> tests etc that would let us keep files formatted.
> 
> This is sweeeet.

I’m a huge fan of machines formatting my code. It’s the biggest thing the Go community got right (that’s the first place I saw it as a quasi-religion, and I’m pretty much on board.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20150925/73ae96c6/attachment.pgp>


More information about the Mercurial-devel mailing list