summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2019-11-15 16:07:34 +0100
committerSam McCall <sam.mccall@gmail.com>2019-11-15 17:32:13 +0100
commitad9fd320091d44d4b8782c28b72a7be21a2bd68d (patch)
treea1c1386b701bf5e29a91277725e7665e78cb92eb /lldb/packages/Python/lldbsuite/test/python_api
parent3dfa975fb36fda1d8cff700d4251db330c83bfa3 (diff)
downloadbcm5719-llvm-ad9fd320091d44d4b8782c28b72a7be21a2bd68d.tar.gz
bcm5719-llvm-ad9fd320091d44d4b8782c28b72a7be21a2bd68d.zip
[clangd] Fix SelectionTree behavior on constructor init-lists.
Summary: For the constructor Foo() : classmember(arg) {} The AST looks like: - CXXCtorInitializer classmember(arg) - CXXConstructExpr classmember(arg) - DeclRefExpr: arg We want the 'classmember' to be associated with the CXXCtorInitializer, not the CXXConstructExpr. (CXXConstructExpr is known to have bad ranges). So just early-claim it. Thanks @hokein for tracking down/reducing the bug. Reviewers: hokein Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits, hokein Tags: #clang Differential Revision: https://reviews.llvm.org/D70312
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud