RTEMS | Reformat cpukit rtems src (!237)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Mon Sep 23 23:41:58 UTC 2024
Sebastian Huber commented on a discussion on cpukit/rtems/src/rtemsobjectgetapiclassname.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/237#note_112445
> - { "Period", OBJECTS_RTEMS_PERIODS, 0},
> - { "Extension", OBJECTS_RTEMS_EXTENSIONS, 0},
> - { "Barrier", OBJECTS_RTEMS_BARRIERS, 0},
> - { NULL, 0, 0}
> + { "Task", OBJECTS_RTEMS_TASKS, 0 },
> + { "Timer", OBJECTS_RTEMS_TIMERS, 0 },
> + { "Semaphore", OBJECTS_RTEMS_SEMAPHORES, 0 },
> + { "Message Queue", OBJECTS_RTEMS_MESSAGE_QUEUES, 0 },
> + { "Partition", OBJECTS_RTEMS_PARTITIONS, 0 },
> + { "Region", OBJECTS_RTEMS_REGIONS, 0 },
> + { "Port", OBJECTS_RTEMS_PORTS, 0 },
> + { "Period", OBJECTS_RTEMS_PERIODS, 0 },
> + { "Extension", OBJECTS_RTEMS_EXTENSIONS, 0 },
> + { "Barrier", OBJECTS_RTEMS_BARRIERS, 0 },
> + { NULL, 0, 0 }
> };
I don't like the enforced alignment in general. If you have to change a single line, then it may trigger multiline changes just to make the formatting rules happy.
>From my experience, not a lot of project use it, so you can expect tool bugs.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/237#note_112445
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240923/0bcf6f14/attachment.htm>
More information about the bugs
mailing list