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

Member predicate FormatLiteral::getConstantPart

Gets the constant part of the format string just before the nth conversion specifier. If n is zero, this will be the constant prefix before the 0th specifier, otherwise it is the string between the end of the n-1th specifier and the nth specifier. Has no result if n is negative or not strictly less than the number of conversion specifiers.

string getConstantPart(int n)