Patch for clang-format to allow references and pointers to bind differently

Alp Toker alp at nuanti.com
Thu Dec 5 03:53:57 PST 2013


On 04/12/2013 21:35, Sean Silva wrote:
>
> In fact, I think that getting to the bottom of what constitutes a 
> "style" (and some general way to represent that) is probably half the 
> battle. This is like what Knuth had to do

Hi Sean,

This clang-based code formatting tool is definitely worth a mention 
because it implements Knuth's rules:

   https://bitbucket.org/PEConn/cels/

The design is about as different from clang-format as you can imagine 
and somewhat more on the R&D end of the spectrum, including the use of 
CIndex to do semantically guided formatting, but still a fascinating tool.

Alp.

-- 
http://www.nuanti.com
the browser experts




More information about the cfe-commits mailing list