mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
use set literals instead of big disjunctions
This commit is contained in:
@@ -22,10 +22,7 @@ predicate modification_of_locals(ControlFlowNode f) {
|
||||
attr = f.(CallNode).getFunction() and
|
||||
originIsLocals(attr.getObject(mname))
|
||||
|
|
||||
mname = "pop" or
|
||||
mname = "popitem" or
|
||||
mname = "update" or
|
||||
mname = "clear"
|
||||
mname in ["pop", "popitem", "update", "clear"]
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user