<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 6, 2021 at 12:47 PM Christian Mauderer <<a href="mailto:oss@c-mauderer.de">oss@c-mauderer.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Ida and Gedare,<br>
<br>
On 06/05/2021 06:26, Gedare Bloom wrote:<br>
> hi Ida,<br>
> <br>
> On Wed, May 5, 2021 at 3:21 PM Ida Delphine <<a href="mailto:idadelm@gmail.com" target="_blank">idadelm@gmail.com</a>> wrote:<br>
>><br>
>> Hello everyone,<br>
>><br>
>> Regarding this project (<a href="https://devel.rtems.org/ticket/3860" rel="noreferrer" target="_blank">https://devel.rtems.org/ticket/3860</a>) I went with clang-format as we all agreed. I have tested it on some "score" files and it made some changes which I don't think are very much in line with the RTEMS coding style. However, it wasn't really clear if we will chage the RTEMS coding style or try to make changes to clang-format to fit the style.<br>
>> Please will love to know the best option.<br>
>><br>
> We will likely need to consider our choices carefully. If we can find<br>
> a suitably close style that is already well-supported by clang, and<br>
> get consensus from the maintainers on a change, then that might be the<br>
> best route forward.<br>
<br>
+1<br>
<br>
> I think the first thing to do is take the examples<br>
> that have been shown by Sebastian that are "close" but not quite<br>
> perfect, and identify the cases where they differ with RTEMS style in<br>
> order to present for discussion here. If consensus can't be reached to<br>
> change the style, then we would need to have a plan for how to improve<br>
> the existing tools for what we have.<br>
<br>
I also found the following tool quite useful to play with the clang <br>
style config:<br>
<br>
<a href="https://zed0.co.uk/clang-format-configurator/" rel="noreferrer" target="_blank">https://zed0.co.uk/clang-format-configurator/</a><br>
<br>
Maybe it can help a bit to find out what certain options mean.<br>
<br>
> <br>
> However, I think there is interest in doing less work on the tool<br>
> side, and more work on how to integrate it into our workflows better.<br>
<br>
+1<br></blockquote><div><br></div><div>I agree with all of this from the student perspective. But we will have</div><div>to come to some agreement on a machine producible format to  </div><div>be able to use the integration. A report on what doesn't match would</div><div>give us something to chew on while Ida works the integration.</div><div><br></div><div>--joel </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> <br>
>> Cheers,<br>
>> Ida.<br>
>> _______________________________________________<br>
>> devel mailing list<br>
>> <a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
>> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
> <br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div></div>