[clang-tools-extra] [clangd] Offer Extract to Function for single expression-statements (PR #219945)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 11 07:39:16 PDT 2026
================
@@ -156,15 +177,11 @@ const Node *getParentOfRootStmts(const Node *CommonAnc) {
case SelectionTree::Selection::Complete:
// If the Common Ancestor is completely selected, then it's a root statement
// and its parent will be unselected.
----------------
timon-ul wrote:
You removed the statement this comment is for. Either move it or delete it.
https://github.com/llvm/llvm-project/pull/219945
More information about the cfe-commits
mailing list