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

Member predicate FormatLiteral::getMaxConvertedLengthWithReason

Gets the maximum length of the string that can be produced by this format string, specifying the reason for the estimate. Has no result if no estimate can be found.

int getMaxConvertedLengthWithReason(BufferWriteEstimationReason reason)