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

ksyx via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 4 04:47:07 PST 2022


ksyx added a comment.

In D118869#3359439 <https://reviews.llvm.org/D118869#3359439>, @krasimir wrote:

> It appears that this caused a regression by adding an additional space of indentation to line comments in some cases:
>
>   % cat test.cc  # (before)
>   // Comment
>   int i;
>   % clang-format -style=google test.cc
>   //  Comment
>   int i;
>
> @ksyx could you please take a look?

I did not reproduce it in latest main branch. This problem may in relate to this issue which have recently been fixed: https://github.com/llvm/llvm-project/issues/53844


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118869



More information about the cfe-commits mailing list