[PATCH] D151190: [clangd] Do not end inactiveRegions range at position 0 of line

Nathan Ridge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 23 01:18:24 PDT 2023


nridge created this revision.
nridge added a reviewer: hokein.
Herald added subscribers: 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.

This carries over the fix previously made for semantic highlighting
https://reviews.llvm.org/D92148, to the new inactiveRegions
protocol as well.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151190

Files:
  clang-tools-extra/clangd/ClangdServer.cpp
  clang-tools-extra/clangd/SemanticHighlighting.cpp
  clang-tools-extra/clangd/SourceCode.cpp
  clang-tools-extra/clangd/SourceCode.h
  clang-tools-extra/clangd/unittests/ClangdTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151190.524603.patch
Type: text/x-patch
Size: 5531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230523/05724b84/attachment-0001.bin>


More information about the cfe-commits mailing list