Closed bbarenblat closed 1 year ago
Cool! FWIW if you want a .clang-format that tries to approximate the "keithw coding style" that Mosh was written in, we've been using https://github.com/fix-project/fix/blob/master/.clang-format . But things have probably drifted; I'm not sure if the one in this PR is closer to Mosh-as-it-stands or the one I linked to. To be clear I think you should pick whatever style you want.
I have reformatted using @keithw’s clang-format file. Thanks, Keith!
Per discussion offline, I have set BreakConstructorInitializers
to BeforeColon
and tweaked a couple of initializer lists to look a nicer.
Create a clang-format file, mark some regions with
// clang-format off
, and format the codebase.