[PATCH] D122554: [clangd] Handle tabs in getIncrementalChangesAfterNewline()

Nathan Ridge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 27 23:37:39 PDT 2022


nridge created this revision.
nridge added a reviewer: sammccall.
Herald added subscribers: usaxena95, kadircet, arphaman.
Herald added a project: All.
nridge requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.

Tabs are not handled by columnWidthUTF8() (they are considered
non-printable) so require additional logic to handle.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122554

Files:
  clang-tools-extra/clangd/Format.cpp
  clang-tools-extra/clangd/unittests/FormatTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122554.418497.patch
Type: text/x-patch
Size: 6441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220328/a13304e6/attachment.bin>


More information about the cfe-commits mailing list