diff options
author | Kadir Cetinkaya <kadircet@google.com> | 2019-12-09 11:54:21 +0100 |
---|---|---|
committer | Kadir Cetinkaya <kadircet@google.com> | 2019-12-09 18:52:57 +0100 |
commit | a209a8000e17ef3560598a44825747aab2f7914d (patch) | |
tree | 6bd92bb27fb57a4ed27ab92975f3084178250c99 /lldb/packages/Python | |
parent | 898d7a0695c577b8cfe3b86b974b71f1ecb3e6c2 (diff) | |
download | bcm5719-llvm-a209a8000e17ef3560598a44825747aab2f7914d.tar.gz bcm5719-llvm-a209a8000e17ef3560598a44825747aab2f7914d.zip |
[clangd] Delete ctor initializers while moving functions out-of-line
Summary:
Currently we only delete function body from declaration, in addition to
that we should also drop ctor initializers.
Unfortunately CXXConstructorDecl doesn't store the location of `:` before
initializers, therefore we make use of token buffer to figure out where to start
deletion.
Fixes https://github.com/clangd/clangd/issues/220
Reviewers: hokein, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71188
Diffstat (limited to 'lldb/packages/Python')
0 files changed, 0 insertions, 0 deletions