ed.sutter at alcatel-lucent.com
Mon Jul 20 12:19:31 UTC 2015
On 7/18/2015 8:02 PM, Chris Johns wrote:
> On 19/07/2015 2:08 am, Ed Sutter wrote:
>> Anyone have any objections to me making one pass on the umon main and
>> apps directory with astyle?
>> It will clean up tabs and a few other things...
>> astyle --unpad-paren --align-pointer=name --add-brackets --convert-tabs
>> --style=knf -A4 <filename>
>> Yea, I should have done this prior to handing the code over, but...
> The change now is fine. It is all part of the history.
>> Assuming no objections, I'd like to then make it a rule that this
>> command be run on
>> any new stuff. I say this knowing that I'll be guilty of not always
>> adhering to
>> the style, so this enforces is.
>> Is that reasonable?
> The astyle tool is fine. It is available on FreeBSD and Windows (MSYS2)
> and I did not look at building it for MacOS.
> I suggest you add a build target to your build system.
Agree. After a few passes of this on the entire tree, future runs of
"make stylecheck" (for example) should result in zero change.
That would be the goal.
> umon-devel mailing list
> umon-devel at rtems.org
More information about the umon-devel