Skip to content

Commit 71a8ac5

Browse files
committed
C++: Autoformat.
1 parent 8184f76 commit 71a8ac5

File tree

1 file changed

+5
-3
lines changed
  • cpp/ql/src/semmle/code/cpp/models/implementations

1 file changed

+5
-3
lines changed

cpp/ql/src/semmle/code/cpp/models/implementations/Pure.qll

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ import semmle.code.cpp.models.interfaces.SideEffect
1010
*/
1111
class PureStrFunction extends AliasFunction, ArrayFunction, TaintFunction, SideEffectFunction {
1212
PureStrFunction() {
13-
hasGlobalOrStdName(["atof", "atoi", "atol", "atoll", "strcasestr", "strchnul", "strchr",
14-
"strchrnul", "strstr", "strpbrk", "strcmp", "strcspn", "strncmp", "strrchr", "strspn",
15-
"strtod", "strtof", "strtol", "strtoll", "strtoq", "strtoul"])
13+
hasGlobalOrStdName([
14+
"atof", "atoi", "atol", "atoll", "strcasestr", "strchnul", "strchr", "strchrnul", "strstr",
15+
"strpbrk", "strcmp", "strcspn", "strncmp", "strrchr", "strspn", "strtod", "strtof",
16+
"strtol", "strtoll", "strtoq", "strtoul"
17+
])
1618
}
1719

1820
override predicate hasArrayInput(int bufParam) {

0 commit comments

Comments
 (0)