[clangd] Color dependent names based on their heuristic target if they have one
authorNathan Ridge <zeratul976@hotmail.com>
Thu, 19 Mar 2020 19:42:10 +0000 (15:42 -0400)
committerNathan Ridge <zeratul976@hotmail.com>
Wed, 15 Apr 2020 04:57:08 +0000 (00:57 -0400)
commitd83541d1b8f75ff44083c8ba1dba1ca7bac330cf
tree9a93a4c93e7037ffb9d817f6d48ce330b1c44371
parentb30246087a3c56c3dad60cadc7fb2692ed758566
[clangd] Color dependent names based on their heuristic target if they have one

Summary: Fixes https://github.com/clangd/clangd/issues/297

Subscribers: ilya-biryukov, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

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