[PATCH] D92257: [clang-format] Add option to control the space at the front of a line comment

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 16 11:59:42 PDT 2021


HazardyKnusperkeks added a comment.

In D92257#3003281 <https://reviews.llvm.org/D92257#3003281>, @byronhe wrote:

> Hi guys,i found `SpacesInLineCommentPrefix` does not support other encoding such as utf8 ,
> I am curious why there is a `isAlphanumeric` limit in `BreakableLineCommentSection::BreakableLineCommentSection()` ?
> I want to make some contribution to make it support utf8, what should i do ?

The `isAlphanumeric` is there to not break doxygen like comments for example.

I'm very interested in how you want to tackle that problem. :)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92257/new/

https://reviews.llvm.org/D92257



More information about the cfe-commits mailing list