ed.sutter at alcatel-lucent.com
Mon Jul 20 12:16:15 UTC 2015
On 7/18/2015 12:35 PM, Joel Sherrill wrote:
> On July 18, 2015 11:08:32 AM CDT, Ed Sutter <edsutterjr at gmail.com> 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...
>> 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?
> I think it is as long as those are the rules you are happy about and the command/style rules are documented for the future.
Yea, I've tried a few. This one is simple both in usage and to build
from source, and does the basic reformatting I want.
> On a practical basis, try to coordinate so there are no outstanding patches when you do it. Sync with the student and then do it.
Yep, I would only apply it to code outside the ports directories
initially, so that should avoid conflict with Jarielle.
>> umon-devel mailing list
>> umon-devel at rtems.org
> umon-devel mailing list
> umon-devel at rtems.org
More information about the umon-devel