Add currently best clang-format configuration to repository?

Chris Johns chrisj at rtems.org
Wed Jul 5 23:27:35 UTC 2023


On 6/7/2023 4:21 am, Gedare Bloom wrote:
> OK I will prepare something soon. I have my WIP version at
> https://git.rtems.org/gedare/rtems.git/tree/_clang-format?h=test-reformat
> 
> I think the format file itself should be just about stable. I will
> make one more test and check of it within the next few days, and then
> send the patch hopefully early next week.

How will the version of clang-format we need be handled?

Will an older version complain if our style is used with it? I am concerned I
use and trust the output however I make a mistake and use an old clang-format
that does not generate the correct format. I doubt I would spot that happening
when reviewing the output.

Chris


More information about the devel mailing list