We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e71ce00 commit 9da69d8Copy full SHA for 9da69d8
llvm/lib/Support/SuffixTree.cpp
@@ -242,8 +242,8 @@ void SuffixTree::RepeatedSubstringIterator::advance() {
242
unsigned Length = Curr->getConcatLen();
243
244
// Iterate over each child, saving internal nodes for visiting, and
245
- // leaf nodes in LeafChildren. Internal nodes represent individual
246
- // strings, which may repeat.
+ // leaf nodes' SuffixIdx in RepeatedSubstringStarts. Internal nodes
+ // represent individual strings, which may repeat.
247
for (auto &ChildPair : Curr->Children) {
248
// Save all of this node's children for processing.
249
if (auto *InternalChild =
0 commit comments