mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Python: format ql
This commit is contained in:
@@ -268,12 +268,11 @@ predicate readStep(Node nodeFrom, Content c, Node nodeTo) {
|
||||
// Seems to need extractor changes to write this part properly
|
||||
nodeFrom.(CfgNode).getNode().(SequenceNode).getNode().getParentNode() = comp and
|
||||
colocated(f.getIter(), comp) and
|
||||
nodeTo.(EssaNode).getVar().getDefinition().(AssignmentDefinition).getDefiningNode().getNode() = f.getTarget()
|
||||
nodeTo.(EssaNode).getVar().getDefinition().(AssignmentDefinition).getDefiningNode().getNode() =
|
||||
f.getTarget()
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
|
||||
/** This should not be necessary */
|
||||
predicate colocated(AstNode n1, AstNode n2) {
|
||||
n1.getLocation().getFile() = n2.getLocation().getFile() and
|
||||
|
||||
Reference in New Issue
Block a user