Skip to content

Commit 5e14002

Browse files
committed
Removed non-ascii characters.
1 parent 8674139 commit 5e14002

File tree

1 file changed

+8
-8
lines changed
  • cpp/ql/lib/semmle/code/cpp/models/implementations

1 file changed

+8
-8
lines changed

cpp/ql/lib/semmle/code/cpp/models/implementations/Printf.qll

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,14 @@ private class StringCchPrintf extends FormattingFunction {
156156
this instanceof TopLevelFunction and
157157
exists(string baseName |
158158
baseName in [
159-
"StringCchPrintf", //StringCchPrintf(pszDest, cchDest, pszFormat, )
160-
"StringCchPrintfEx", //StringCchPrintfEx(pszDest,cchDest, ppszDestEnd, pcchRemaining, dwFlags, pszFormat, ...);
161-
"StringCchPrintf_l", //StringCchPrintf_l(pszDest, cbDest, pszFormat, locale, )
162-
"StringCchPrintf_lEx", //StringCchPrintf_lEx(pszDest, cchDest, ppszDestEnd, pcchRemaining, dwFlags, pszFormat, locale, )
163-
"StringCbPrintf", //StringCbPrintf(pszDest, cbDest, pszFormat, )
164-
"StringCbPrintfEx", //StringCbPrintfEx(pszDest, cbDest, ppszDestEnd, pcbRemaining, dwFlags, pszFormat, )
165-
"StringCbPrintf_l", //StringCbPrintf_l(pszDest, cbDest, pszFormat, locale, )
166-
"StringCbPrintf_lEx" //StringCbPrintf_lEx(pszDest, cbDest, ppszDestEnd, pcbRemaining, dwFlags, pszFormat, locale, )
159+
"StringCchPrintf", //StringCchPrintf(pszDest, cchDest, pszFormat, ...)
160+
"StringCchPrintfEx", //StringCchPrintfEx(pszDest,cchDest, ppszDestEnd, pcchRemaining, dwFlags, pszFormat, ...)
161+
"StringCchPrintf_l", //StringCchPrintf_l(pszDest, cbDest, pszFormat, locale, ...)
162+
"StringCchPrintf_lEx", //StringCchPrintf_lEx(pszDest, cchDest, ppszDestEnd, pcchRemaining, dwFlags, pszFormat, locale, ...)
163+
"StringCbPrintf", //StringCbPrintf(pszDest, cbDest, pszFormat, ...)
164+
"StringCbPrintfEx", //StringCbPrintfEx(pszDest, cbDest, ppszDestEnd, pcbRemaining, dwFlags, pszFormat, ...)
165+
"StringCbPrintf_l", //StringCbPrintf_l(pszDest, cbDest, pszFormat, locale, ...)
166+
"StringCbPrintf_lEx" //StringCbPrintf_lEx(pszDest, cbDest, ppszDestEnd, pcbRemaining, dwFlags, pszFormat, locale, ...)
167167
]
168168
|
169169
this.hasGlobalName(baseName + ["", "A", "W"])

0 commit comments

Comments
 (0)