[clangd] ExtractFunction: disable on regions that sometimes, but not always return.
apply() will fail in those cases, so it's better to detect it in prepare() already and hide code action from the user. This was especially annoying on code bases that use a lot of RETURN_IF_ERROR-like macros. Differential Revision: https://reviews.llvm.org/D92408
Loading
Please sign in to comment