aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2017-08-18 12:57:36 +0000
committerJoerg Sonnenberger <joerg@bec.de>2017-08-18 12:57:36 +0000
commit7e680f15a5fd64ab2f7e2f2655adb350ef533f7c (patch)
treef3b0eaeb611c22a2f1d2d4c4ec57cbc5f760a3d6
parent62acb344d08d4902c439740835705ba083470986 (diff)
downloadllvm-7e680f15a5fd64ab2f7e2f2655adb350ef533f7c.zip
llvm-7e680f15a5fd64ab2f7e2f2655adb350ef533f7c.tar.gz
llvm-7e680f15a5fd64ab2f7e2f2655adb350ef533f7c.tar.bz2
Spelling
llvm-svn: 311156
-rw-r--r--libcxx/include/__tree4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/__tree b/libcxx/include/__tree
index 792870a..3ccfcb7 100644
--- a/libcxx/include/__tree
+++ b/libcxx/include/__tree
@@ -84,7 +84,7 @@ __tree_is_left_child(_NodePtr __x) _NOEXCEPT
return __x == __x->__parent_->__left_;
}
-// Determintes if the subtree rooted at __x is a proper red black subtree. If
+// Determines if the subtree rooted at __x is a proper red black subtree. If
// __x is a proper subtree, returns the black height (null counts as 1). If
// __x is an improper subtree, returns 0.
template <class _NodePtr>
@@ -119,7 +119,7 @@ __tree_sub_invariant(_NodePtr __x)
return __h + __x->__is_black_; // return black height of this node
}
-// Determintes if the red black tree rooted at __root is a proper red black tree.
+// Determines if the red black tree rooted at __root is a proper red black tree.
// __root == nullptr is a proper tree. Returns true is __root is a proper
// red black tree, else returns false.
template <class _NodePtr>