mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
Python: remove control flow nodes
for module entry definitions from the dataflow graph.
This commit is contained in:
committed by
Rasmus Wriedt Larsen
parent
e050f2e998
commit
c563c7fbe4
@@ -30,7 +30,7 @@ newtype TNode =
|
||||
or
|
||||
node.getNode() instanceof Pattern
|
||||
or
|
||||
node = any(ScopeEntryDefinition def).getDefiningNode()
|
||||
node = any(ScopeEntryDefinition def | not def.getScope() instanceof Module).getDefiningNode()
|
||||
} or
|
||||
/**
|
||||
* A synthetic node representing the value of an object before a state change.
|
||||
|
||||
Reference in New Issue
Block a user