On 1/7/2014, 4:55 PM, Chris Peterson wrote:
On 1/7/14, 12:31 PM, Benjamin Smedberg wrote:
What's not clear to me from the discussion is whether there is a
reformatting tool which already exists which can do what we need. If
there is, I think we should actively discourage people reformatting by
hand, and just encourage people to use the tool at an appropriate time.

The "astyle" and "uncrustify" reformatting tools have options to add
braces.


http://astyle.sourceforge.net/
http://uncrustify.sourceforge.net/

I'm also planning to see what it would take to teach clang-format about braces...

Cheers,
Ehsan

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to