31 Mar
2014
31 Mar
'14
3:26 p.m.
---- Tavmjong Bah <tavmjong@...8...> wrote:
(can you run clang-format on the code? thank
I did a test. While some formatting is improved, it messes up other formatting. As it also makes diffing against previous code more difficult, I would prefer to wait on this.
Yeah, it cannot be run on the whole file yet. (I hope to work on clang-format a bit to make it better suited for our tastes) But perhaps you can run it on part of the source. I use the following, perhaps it is also available for your editor: http://www.sublimetext.com/forum/viewtopic.php?f=5&t=15133
I find it a hugely convenient tool. The offending parts of your code that I especially remember are the positioning of parens and braces.
cheers, Johan