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

Member predicate FormatLiteral :: getMaxConvertedLength

Gets the maximum length of the string that can be produced by the nth conversion specifier of this format string, specifying the estimation reason; has no result if this cannot be determined.

int getMaxConvertedLength ( int n , BufferWriteEstimationReason reason )