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

Daniel Jasper djasper at google.com
Tue Dec 10 00:29:39 PST 2013

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

On Mon, Dec 9, 2013 at 10:01 PM, Alp Toker <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131210/40cea195/attachment.html>

More information about the cfe-commits mailing list