summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands/command/script/welcome.py
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2019-09-03 11:35:50 +0000
committerSam McCall <sam.mccall@gmail.com>2019-09-03 11:35:50 +0000
commit489cc589c557813fa92a71c1a141939c52574713 (patch)
treec90d3f23d0b345f712f971ae153b3c0a013bdc90 /lldb/packages/Python/lldbsuite/test/commands/command/script/welcome.py
parent2f3574c16894f87dd797b8962babb4a766503279 (diff)
downloadbcm5719-llvm-489cc589c557813fa92a71c1a141939c52574713.tar.gz
bcm5719-llvm-489cc589c557813fa92a71c1a141939c52574713.zip
[clangd] Add targetDecl(), which determines what declaration an AST node refers to.
Summary: This is the first part of an effort to "unbundle" our libIndex use into separate concerns (AST traversal, token<->node mapping, node<->decl mapping, decl<->decl relationshipes). Currently, clangd relies on libIndex to associate tokens, AST nodes, and decls. This leads to rather convoluted implementations of e.g. hover and extract-function, which are not naturally thought of as indexing applications. The idea is that by decoupling different concerns, we make them easier to use, test, and combine, and more efficient when only one part is needed. There are some synergies between e.g. traversal and finding relationships between decls, hopefully the benefits outweight these. Reviewers: kadircet, ilya-biryukov Subscribers: mgorny, MaskRay, jkorous, arphaman, jfb, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D66751 llvm-svn: 370746
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/command/script/welcome.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud