[clang-tools-extra] [clangd] fix extract-to-function for overloaded operators (PR #81640)

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 31 02:37:26 PDT 2024


5chmidti wrote:

> Do I understand correctly that this is a partial fix for [clangd/clangd#1254](https://github.com/clangd/clangd/issues/1254) in that it addresses the issue with overloaded operators in particular, but it still leaves in place the limitation that a **single** expression statement (of any kind) cannot be extracted?

Exactly

> If so, would you mind adding an "unavailable" test case for the latter case, with some sort of "TODO, we'd like to relax this limitation" comment?

Done


https://github.com/llvm/llvm-project/pull/81640


More information about the cfe-commits mailing list