[clangd] Compute the inactive code range for semantic highlighting.
authorHaojian Wu <hokein.wu@gmail.com>
Wed, 26 Aug 2020 08:50:31 +0000 (10:50 +0200)
committerHaojian Wu <hokein.wu@gmail.com>
Wed, 26 Aug 2020 08:50:31 +0000 (10:50 +0200)
commit0aaa2acc4ca0389a79a46bca3dc5b9365c641d77
tree8f5e30b32c6896252b0d72635c7c01d7ab5e9b62
parentb20a4e293c3b617d0890657b3c46edcc7410c8fd
[clangd] Compute the inactive code range for semantic highlighting.

Differential Revision: https://reviews.llvm.org/D85635
clang-tools-extra/clangd/SemanticHighlighting.cpp
clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp