[PATCH] D118869: [clang-format] Non-latin comment prefix whitespace

ksyx via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 2 19:35:48 PST 2022


ksyx created this revision.
ksyx added reviewers: HazardyKnusperkeks, MyDeveloperDay, curdeius.
ksyx requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This commit changes the condition of requiring comment to start with
alphabet characters to make no change only for a certain set of
characters, currently horizontal whitespace and punctuation characters.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118869

Files:
  clang/lib/Format/BreakableToken.cpp
  clang/unittests/Format/FormatTestComments.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118869.405515.patch
Type: text/x-patch
Size: 6516 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220203/04705b27/attachment-0001.bin>


More information about the cfe-commits mailing list