mirror of
https://github.com/github/codeql.git
synced 2026-04-20 14:34:04 +02:00
C++: Add more QLDoc.
This commit is contained in:
@@ -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) }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user