We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fc20dc commit df9ffdfCopy full SHA for df9ffdf
clang-tools-extra/clangd/refactor/tweaks/ExtractFunction.cpp
@@ -105,7 +105,7 @@ bool isRootStmt(const Node *N) {
105
if (N->Selected == SelectionTree::Partial)
106
return false;
107
// A DeclStmt can be an unselected RootStmt since VarDecls claim the entire
108
- // selection range in selectionTree. Additionally, an CXXOperatorCallExpr of a
+ // selection range in selectionTree. Additionally, a CXXOperatorCallExpr of a
109
// binary operation can be unselected because it's children claim the entire
110
// selection range in the selection tree (e.g. <<).
111
if (N->Selected == SelectionTree::Unselected && !N->ASTNode.get<DeclStmt>() &&
0 commit comments