summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/api/multiple-debuggers/testprog.cpp
diff options
context:
space:
mode:
authorIvan Donchevskii <ivan.donchevskii@qt.io>2018-08-23 09:48:11 +0000
committerIvan Donchevskii <ivan.donchevskii@qt.io>2018-08-23 09:48:11 +0000
commitb3ae2bc62bdcceb08dd81894abe55d02bb99fef9 (patch)
tree939544111cb6f06dd0860154593c40f5644d68c3 /lldb/packages/Python/lldbsuite/test/api/multiple-debuggers/testprog.cpp
parent0dfbf6b6085bff1e0d77c16274a0e44fda314047 (diff)
downloadbcm5719-llvm-b3ae2bc62bdcceb08dd81894abe55d02bb99fef9.tar.gz
bcm5719-llvm-b3ae2bc62bdcceb08dd81894abe55d02bb99fef9.zip
[libclang] Fix cursors for arguments of Subscript and Call operators
The DeclRefExpr of CXXOperatorCallExpr refering to the custom operator is visited before the arguments to the operator call. For the Call and Subscript operator the range of this DeclRefExpr includes the whole call expression, so that all tokens in that range were mapped to the operator function, even the tokens of the arguments. Fix this by ensuring that this particular DeclRefExpr is visited last. Fixes PR25775. Fix by Nikolai Kosjar. Differential Revision: https://reviews.llvm.org/D40481 llvm-svn: 340521
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/api/multiple-debuggers/testprog.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud