summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2019-11-16 17:00:19 +0100
committerSam McCall <sam.mccall@gmail.com>2019-11-19 15:11:37 +0100
commit765b1250f6845e765abf01908b122dab441c2a42 (patch)
tree89affbd742f5e31583f5f6dcf9249ef45e733811 /lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
parentc54d21c848d350e85cd8f95a725fc12f6fa3ab19 (diff)
downloadbcm5719-llvm-765b1250f6845e765abf01908b122dab441c2a42.tar.gz
bcm5719-llvm-765b1250f6845e765abf01908b122dab441c2a42.zip
[clangd] Untangle Hover from XRefs, move into own file.
Summary: This is mostly mechanical, with a few exceptions: - getDeducedType moved into AST.h where it belongs. It now takes ASTContext instead of ParsedAST, and avoids using the preprocessor. - hover now uses SelectionTree directly rather than via getDeclAtPosition helper - hover on 'auto' used to find the decl that contained the 'auto' and use that to set Kind and documentation for the hover result. Now we use targetDecl() to find the decl matching the deduced type instead. This changes tests, e.g. 'variable' -> class for auto on lambdas. I think this is better, but the motivation was to avoid depending on the internals of DeducedTypeVisitor. This functionality is removed from the visitor. Reviewers: kadircet Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D70357
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud