Hi, On Thu, Dec 14, 2017 at 11:28:57AM +0100, Stephan Bergmann <sbergman@redhat.com> wrote:
I'm somewhat undecided whether or not to do that change to .clang-format now. My feeling is that reformatting of comments is a pain and a gotcha anyway.
Turning this on would also have the effect that e.g.
void f() { statement1(); // lengthy comment comment comment comment comment comment comment comment comment // comment comment comment comment comment comment statement2(); }
would be formatted (due to the extra -- probably unwanted -- space) as
void f() { statement1(); // lengthy comment comment comment comment comment comment comment comment comment // comment comment comment comment comment comment statement2(); }
which might be misleading as well. So leaving at as-is has some benefits, I think. Regards, Miklos
Attachment:
signature.asc
Description: Digital signature