C++: Add more QLDoc.

This commit is contained in:
Mathias Vorreiter Pedersen
2023-12-14 14:49:48 +00:00
parent 0c100eb122
commit 368f438754

View File

@@ -2288,6 +2288,10 @@ private module ContentStars {
result = "*" + repeatStars(n - 1)
}
/**
* Gets the number of stars (i.e., `*`s) needed to produce the `toString`
* output for `c`.
*/
string contentStars(Content c) { result = repeatStars(c.getIndirectionIndex() - 1) }
}