Skip to content

Commit 9da69d8

Browse files
committed
updates comments from an earlier version of SuffixTree
1 parent e71ce00 commit 9da69d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Support/SuffixTree.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ void SuffixTree::RepeatedSubstringIterator::advance() {
242242
unsigned Length = Curr->getConcatLen();
243243

244244
// Iterate over each child, saving internal nodes for visiting, and
245-
// leaf nodes in LeafChildren. Internal nodes represent individual
246-
// strings, which may repeat.
245+
// leaf nodes' SuffixIdx in RepeatedSubstringStarts. Internal nodes
246+
// represent individual strings, which may repeat.
247247
for (auto &ChildPair : Curr->Children) {
248248
// Save all of this node's children for processing.
249249
if (auto *InternalChild =

0 commit comments

Comments
 (0)