We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed87f25 commit a4250beCopy full SHA for a4250be
cpp/ql/src/semmle/code/cpp/commons/Printf.qll
@@ -854,11 +854,8 @@ class FormatLiteral extends Literal {
854
/**
855
* Gets the number of arguments required by the nth conversion specifier
856
* of this format string.
857
- *
858
- * DEPRECATED. This was a helper function for `getNumArgNeeded` and is no
859
- * longer required.
860
*/
861
- deprecated int getNumArgNeeded(int n) {
+ int getNumArgNeeded(int n) {
862
exists(this.getConvSpecOffset(n)) and
863
result = count(int mode | hasFormatArgumentIndexFor(n, mode))
864
}
0 commit comments