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

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)