Skip to content

Commit 289a908

Browse files
committed
C++: Update qldoc in reponse to PR comments
1 parent c4b97a3 commit 289a908

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ private predicate callsVariadicFormatterOutput(Function f, int outputParamIndex)
7878
}
7979

8080
/**
81-
* Holds if `f` is a function such as `vprintf` that writes formatted
82-
* output to buffer given as a parameter at index `outputParamIndex`, if any.
81+
* Holds if `f` is a function such as `vprintf` that takes variable argument list
82+
* of type `va_arg` and writes formatted output to a buffer given as a parameter at
83+
* index `outputParamIndex`, if any.
8384
*/
8485
private predicate variadicFormatterOutput(Function f, int outputParamIndex) {
8586
primitiveVariadicFormatterOutput(f, outputParamIndex)

0 commit comments

Comments
 (0)