CodeQL library for C/C++
codeql/cpp-all 0.7.2 ( changelog , source )
Search

Member predicate FormatLiteral :: getFormatArgumentIndexFor

Gets the computed format argument index for the nth conversion specifier of this format string (if mode = 2), it’s minimum field width (if mode = 0) or it’s precision (if mode = 1). Has no result if that element is not present. Does not account for positional arguments ($).

int getFormatArgumentIndexFor ( int n , int mode )