RTEMS | Reformat cpukit rtems src (!237)

Gedare Bloom (@gedare) gitlab at rtems.org
Mon Sep 23 23:39:36 UTC 2024




Gedare Bloom commented on a discussion on cpukit/rtems/src/rtemsobjectgetapiclassname.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/237#note_112444

 > -  { "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 think we could get this back, with https://clang.llvm.org/docs/ClangFormatStyleOptions.html#alignarrayofstructures

I'd have to investigate. That option has several open bugs related to using it.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/237#note_112444
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/bf2f577c/attachment-0001.htm>


More information about the bugs mailing list