[clangd] Handle more than two conflicting semantic tokens in resolveConflict()
authorNathan Ridge <zeratul976@hotmail.com>
Wed, 16 Mar 2022 08:01:43 +0000 (04:01 -0400)
committerNathan Ridge <zeratul976@hotmail.com>
Wed, 16 Mar 2022 16:53:04 +0000 (12:53 -0400)
commit606ba8a68f79b8324c3ce018e7fa0173ce698526
treeca50c227231c1fe797d4608c61cb01d274c7c8ee
parent3887ebbba0eb33ade9f181e4ce9b0a3a9f764ee5
[clangd] Handle more than two conflicting semantic tokens in resolveConflict()

Fixes https://github.com/clangd/clangd/issues/1057

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