diff options
author | Haojian Wu <hokein@google.com> | 2019-09-16 10:16:56 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2019-09-16 10:16:56 +0000 |
commit | af28bb65023ef989e9079717626a9e3080bb50d3 (patch) | |
tree | ca3a833fd85191a05257fefa08bcf1951a66b49a /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py | |
parent | 1d74940b319c7b6aea49f94730e408586fd76a82 (diff) | |
download | bcm5719-llvm-af28bb65023ef989e9079717626a9e3080bb50d3.tar.gz bcm5719-llvm-af28bb65023ef989e9079717626a9e3080bb50d3.zip |
[clangd] Fix a crash when renaming operator.
Summary:
The renamelib uses a tricky way to calculate the end location by relying
on decl name, this is incorrect for the overloaded operator (the name is
"operator++" instead of "++"), which will cause out-of-file offset.
We also disable renaming operator symbol, this case is tricky, and
renamelib doesnt handle it properly.
Reviewers: ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67607
llvm-svn: 371971
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions