Skip to content

Commit b7dc747

Browse files
fix typos
1 parent 38003e3 commit b7dc747

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang-tools-extra/clangd/refactor/tweaks/ExtractFunction.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ enum FunctionDeclKind {
9595
OutOfLineDefinition
9696
};
9797

98-
// A RootStmt is a statement that's fully selected including all it's children
99-
// and it's parent is unselected.
98+
// A RootStmt is a statement that's fully selected including all its children
99+
// and its parent is unselected.
100100
// Check if a node is a root statement.
101101
bool isRootStmt(const Node *N) {
102102
if (!N->ASTNode.get<Stmt>())
@@ -106,7 +106,7 @@ bool isRootStmt(const Node *N) {
106106
return false;
107107
// A DeclStmt can be an unselected RootStmt since VarDecls claim the entire
108108
// selection range in selectionTree. Additionally, a CXXOperatorCallExpr of a
109-
// binary operation can be unselected because it's children claim the entire
109+
// binary operation can be unselected because its children claim the entire
110110
// selection range in the selection tree (e.g. <<).
111111
if (N->Selected == SelectionTree::Unselected && !N->ASTNode.get<DeclStmt>() &&
112112
!N->ASTNode.get<CXXOperatorCallExpr>())

0 commit comments

Comments
 (0)