[PATCH] D96896: [clang-format] Respect spaces in line comment section without an active column limit

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 17 13:20:02 PST 2021


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

Before line comments were not touched at all with `ColumnLimit == 0`, so this is a real change. But at least for me it was unexpected that the comments were not fixed with `ColumnLimit == 0`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D96896

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96896.324410.patch
Type: text/x-patch
Size: 22821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210217/908bfafd/attachment-0001.bin>


More information about the cfe-commits mailing list