[all-commits] [llvm/llvm-project] 9325e9: [clangd] Handle tabs in getIncrementalChangesAfter...
Nathan Ridge via All-commits
all-commits at lists.llvm.org
Mon Mar 28 22:43:31 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9325e97a3599929a52bef3e5c8e403c98f9428ba
https://github.com/llvm/llvm-project/commit/9325e97a3599929a52bef3e5c8e403c98f9428ba
Author: Nathan Ridge <zeratul976 at hotmail.com>
Date: 2022-03-29 (Tue, 29 Mar 2022)
Changed paths:
M clang-tools-extra/clangd/Format.cpp
M clang-tools-extra/clangd/unittests/FormatTests.cpp
Log Message:
-----------
[clangd] Handle tabs in getIncrementalChangesAfterNewline()
Tabs are not handled by columnWidthUTF8() (they are considered
non-printable) so require additional logic to handle.
Fixes https://github.com/clangd/clangd/issues/1074
Differential Revision: https://reviews.llvm.org/D122554
More information about the All-commits
mailing list