File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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.
101101bool 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>())
You can’t perform that action at this time.
0 commit comments