[PATCH] clang-format-diff.py: Support more filename extensions

Alp Toker alp at nuanti.com
Tue Dec 10 05:59:00 PST 2013


On 10/12/2013 08:29, Daniel Jasper wrote:
> I am skeptical about including ".td" in the default, because we don't 
> really support tablegen yet (there are some constructs that we really 
> mess up) so I don't think formatting these by default is desirable for 
> LLVM/Clang (or others). Otherwise this seems like a very good idea, 
> thank you!

Right, dropped the td. r196917!

Alp.


>
>
> On Mon, Dec 9, 2013 at 10:01 PM, Alp Toker <alp at nuanti.com 
> <mailto:alp at nuanti.com>> wrote:
>
>     Hi Daniel,
>
>     The attached patch adds support for more filename extensions based
>     on the list in the clang frontend plus JavaScript.
>
>     Also adds a -regex option so users can override defaults if they
>     have unusual file extensions or want to format everything in the diff.
>
>     Keeping with tradition the flag is modelled on Unix conventions,
>     this time matching the semantics of find(1) -regex.
>
>     Alp.
>
>     -- 
>     http://www.nuanti.com
>     the browser experts
>
>

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




More information about the cfe-commits mailing list