[question] If the code format is wrong, the _initialize_xxx functions cannot be generated?

Tom Tromey tom@tromey.com
Wed Feb 8 19:58:14 GMT 2023


Joel> FWIW RTEMS also has its own formatting quirks and clang-format appears to
Joel> be within one option for us now. One of our core folks was considering
Joel> addressing that one.

Joel> They get better and better so worth looking periodically.

I try periodically for gdb.  Today I updated to clang-format 14, went
through all the options, and tried again.

I don't really understand what I'm doing, though, so it's not completely
clear the results are definitive.  But anyway, my experience has been
pretty negative.  There are a lot of minor differences that I don't
really care about, but the way bin-packing works for function arguments
leaves some calls unreadable to me.

I filed https://sourceware.org/bugzilla/show_bug.cgi?id=30098 to track
our progress here.

Tom


More information about the Gdb mailing list