Le 26/09/2017 à 14:33, smaug a écrit : > On 05/23/2014 04:29 AM, Anthony Jones wrote: >> Some of you may remember the discussion on clang-format and the `mach >> clang-format` command. What we have in place right now is very temporary >> but it is functional enough to give it a try. I have not put the effort >> into upstreaming my changes. Depending on the feedback I receive I will >> either: >> >> * Finish my existing changes and upstream them >> * Remove the `mach clang-format` command altogether >> * Do nothing >> >> I have personally found it useful. However I would like to hear from >> other people who have tried it to help me decide what to do next. >> >> Anthony >> > > > clang-format messes up really badly many macros. > For example nsElementTable.cpp becomes unreadable.
Yeah, for this kind of structure & presentation layout, we should just ignore the formatting on these. It is hard for reformatting tools to know exactly to do with such patterns. I reported bug 1403150 for this. Sylvestre _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform