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

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 28 00:18:41 PDT 2024


HighCommander4 wrote:

Do I understand correctly that this is a partial fix for 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?

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?

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


More information about the cfe-commits mailing list