Open Quuxplusone opened 3 years ago
Bugzilla Link | PR52527 |
Status | CONFIRMED |
Importance | P enhancement |
Reported by | Peter Dillinger (peterd@fb.com) |
Reported on | 2021-11-16 12:33:49 -0800 |
Last modified on | 2021-11-18 00:05:56 -0800 |
Version | 12.0 |
Hardware | All All |
CC | dblaikie@gmail.com, djasper@google.com, klimek@google.com, llvm-bugs@lists.llvm.org, mydeveloperday@gmail.com |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
This is a bug I think, we need to add a space between the * and the /* block
comment.
I think we can fix this by adding
if (Left.is(tok::star) && Right.is(TT_BlockComment))
return true;
to
bool TokenAnnotator::spaceRequiredBefore(const AnnotatedLine &Line,
const FormatToken &Right);
Possible fix