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

Christian Kandeler via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 17 02:56:48 PDT 2024


================
@@ -105,7 +105,7 @@ bool isRootStmt(const Node *N) {
   if (N->Selected == SelectionTree::Partial)
     return false;
   // A DeclStmt can be an unselected RootStmt since VarDecls claim the entire
-  // selection range in selectionTree. Additionally, an CXXOperatorCallExpr of a
+  // selection range in selectionTree. Additionally, a CXXOperatorCallExpr of a
   // binary operation can be unselected because it's children claim the entire
----------------
ckandeler wrote:

"it's" should also be changed to "its"

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


More information about the cfe-commits mailing list