[clangd] findExplicitReferences supports goto labels
authorSam McCall <sam.mccall@gmail.com>
Mon, 18 May 2020 22:45:27 +0000 (00:45 +0200)
committerSam McCall <sam.mccall@gmail.com>
Tue, 19 May 2020 14:50:35 +0000 (16:50 +0200)
commitb0d94964da8cf6c24ece253fdfc7f9e8016afee9
tree1eadd731296ebd7b5b61c9886bea8b7dd6d3f9e1
parent1f820e35596bac036a7f759c4de41fcc2e642719
[clangd] findExplicitReferences supports goto labels

Summary:
This means they're renamable and textDocument/highlight works

This fell out of D78454

Reviewers: adamcz

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

Tags: #clang

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