[all-commits] [llvm/llvm-project] a56141: [clangd] Highlight related control flow.
Sam McCall via All-commits
all-commits at lists.llvm.org
Thu May 28 04:25:31 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a56141b8f9fea112c1ea078c974d91949b6e7a5c
https://github.com/llvm/llvm-project/commit/a56141b8f9fea112c1ea078c974d91949b6e7a5c
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2020-05-28 (Thu, 28 May 2020)
Changed paths:
M clang-tools-extra/clangd/XRefs.cpp
M clang-tools-extra/clangd/unittests/XRefsTests.cpp
Log Message:
-----------
[clangd] Highlight related control flow.
Summary:
This means e.g. highlighting "return" will show other returns/throws
from the same function, highlighting a case will show all the
return/breaks etc.
This is a bit of an abuse of textDocument/highlight, but seems useful.
Reviewers: adamcz
Subscribers: ilya-biryukov, MaskRay, jkorous, mgrang, arphaman, kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D78454
More information about the All-commits
mailing list