mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Swift: Add missing QLDoc.
This commit is contained in:
@@ -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 }
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user