This fixes a regression that causes example:
enum A { a, // line a // line b b };
to be formatted as follows:
enum A { a, // line a // line b b };
Differential D29322
[clang-format] Fix regression merging comments across newlines. krasimir on Jan 31 2017, 2:38 AM. Authored by
Details This fixes a regression that causes example: enum A { a, // line a // line b b }; to be formatted as follows: enum A { a, // line a // line b b };
Diff Detail
Event Timeline
Comment Actions lg minus adding the FIXME to the place where we need the change.
|
Could we put them as children into the higher level UnwrappedLine instead?