diff options
| author | Sam McCall <sam.mccall@gmail.com> | 2019-02-01 15:05:11 +0000 |
|---|---|---|
| committer | Sam McCall <sam.mccall@gmail.com> | 2019-02-01 15:05:11 +0000 |
| commit | 3186e3ceb85d34b89b754c015b2d4db99c4c1230 (patch) | |
| tree | 041bfb285e2bd09dbdd0bcf3194d9735c061f6fc /llvm/lib/Support/LEB128.cpp | |
| parent | fbcbac717436e1614ada754d57c76d789de2abfc (diff) | |
| download | bcm5719-llvm-3186e3ceb85d34b89b754c015b2d4db99c4c1230.tar.gz bcm5719-llvm-3186e3ceb85d34b89b754c015b2d4db99c4c1230.zip | |
[clangd] Lib to compute and represent selection under cursor.
Summary:
The primary problem this solves is to expose the codeAction selection to
AST-based refactorings in a way that makes it easy and efficient for them to
bind to the right parts of the AST.
It should also allow us to make XRefs based features (textDocument/definition)
more robust, more easily implement textDocument/typeDefinition etc.
As an example, template parameter references can be identified without special
handling.
There should be slight speedup too: we can prune most of the AST traversal
in most cases.
Elephant in the room: this is similar-but-different to Tooling/Refactoring/ASTSelection.
That captures a smaller set of AST nodes, has a slightly different way of
representing selections, and generally has mare features and does more work.
The overall shape is pretty similar, and yet I can't quite get to behave as I
expect.
Reviewers: ilya-biryukov, kadircet
Subscribers: mgorny, ioeric, MaskRay, jkorous, mgrang, arphaman
Tags: #clang
Differential Revision: https://reviews.llvm.org/D57562
llvm-svn: 352874
Diffstat (limited to 'llvm/lib/Support/LEB128.cpp')
0 files changed, 0 insertions, 0 deletions

