Swift: Add missing QLDoc.

This commit is contained in:
Geoffrey White
2023-11-21 08:55:24 +00:00
parent b4b78a1bce
commit 57a1becd22

View File

@@ -97,7 +97,7 @@ private class CleartextLoggingFieldAdditionalFlowStep extends CleartextLoggingAd
* A function that appears to be an imported C `printf` variant.
* TODO: merge code with similar cases from the format string PR.
*/
class PrintfFormat extends FreeFunction {
private class PrintfFormat extends FreeFunction {
int formatParamIndex;
string modeChars;
@@ -106,6 +106,9 @@ class PrintfFormat extends FreeFunction {
this.getParam(formatParamIndex).getName() = "format"
}
/**
* Gets the index of the format parameter.
*/
int getFormatParamIndex() { result = formatParamIndex }
/**