mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +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
|
or
|
||||||
node.getNode() instanceof Pattern
|
node.getNode() instanceof Pattern
|
||||||
or
|
or
|
||||||
node = any(ScopeEntryDefinition def).getDefiningNode()
|
node = any(ScopeEntryDefinition def | not def.getScope() instanceof Module).getDefiningNode()
|
||||||
} or
|
} or
|
||||||
/**
|
/**
|
||||||
* A synthetic node representing the value of an object before a state change.
|
* A synthetic node representing the value of an object before a state change.
|
||||||
|
|||||||
Reference in New Issue
Block a user