astyle...

Joel Sherrill joel.sherrill at oarcorp.com
Sat Jul 18 16:35:56 UTC 2015



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.

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.


>_______________________________________________
>umon-devel mailing list
>umon-devel at rtems.org
>http://lists.rtems.org/mailman/listinfo/umon-devel

--joel



More information about the umon-devel mailing list