Skip to content

Commit 160635b

Browse files
authored
C++: add missing docs for a toString predicate
1 parent a6cbe6f commit 160635b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cpp/ql/lib/semmle/code/cpp/commons/Printf.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ class BufferWriteEstimationReason extends TBufferWriteEstimationReason {
2222
this = TValueFlowAnalysis()
2323
}
2424

25+
/**
26+
* Returns a human readable representation of this reason
27+
*/
2528
string toString() {
2629
this = TTypeBoundsAnalysis() and result = "based on type bounds"
2730
or

0 commit comments

Comments
 (0)