diff options
| author | Fabio Rossini Sluzala <fabio3rs@gmail.com> | 2022-04-05 19:08:34 +0200 |
|---|---|---|
| committer | Sam McCall <sam.mccall@gmail.com> | 2022-04-05 19:49:17 +0200 |
| commit | a0e4ba4b4607267d96c3ab8bc1c38f5a09830692 (patch) | |
| tree | ae6dd9a23448bd056fbed8758022cb4ac7096743 /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
| parent | c082ca16f123144072afffaa21742238021eae9c (diff) | |
[clangd] Add support to extract method for ExtractFunction Tweak
I miss more automatically refactoring functions when working with already running code, so I am making some small addition that I hope help more people.
This works by checking if the function is a method (CXXMethodDecl), then collecting information about the function that the code is being extracted, looking for the declaration if it is out-of-line, creating the declaration if it is necessary and putting the extracted function as a class-method.
This is my first code review request, sorry if I did something wrong.
Reviewed By: sammccall
Differential Revision: https://reviews.llvm.org/D122698
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
