Skip to content

Commit 368f438

Browse files
committed
C++: Add more QLDoc.
1 parent 0c100eb commit 368f438

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2288,6 +2288,10 @@ private module ContentStars {
22882288
result = "*" + repeatStars(n - 1)
22892289
}
22902290

2291+
/**
2292+
* Gets the number of stars (i.e., `*`s) needed to produce the `toString`
2293+
* output for `c`.
2294+
*/
22912295
string contentStars(Content c) { result = repeatStars(c.getIndirectionIndex() - 1) }
22922296
}
22932297

0 commit comments

Comments
 (0)