Remove needless typecasts

This commit is contained in:
Chris Smowton
2021-03-01 16:47:34 +00:00
parent aab9deceef
commit cdccc1a064
5 changed files with 15 additions and 15 deletions

View File

@@ -422,10 +422,10 @@ private module Cached {
* interface.
*/
cached
predicate reverseStepThroughInputOutputAlias(Node fromNode, Node toNode) {
predicate reverseStepThroughInputOutputAlias(PostUpdateNode fromNode, PostUpdateNode toNode) {
exists(Node fromPre, Node toPre |
fromPre = fromNode.(PostUpdateNode).getPreUpdateNode() and
toPre = toNode.(PostUpdateNode).getPreUpdateNode()
fromPre = fromNode.getPreUpdateNode() and
toPre = toNode.getPreUpdateNode()
|
exists(DataFlowCall c |
// Does the language-specific simpleLocalFlowStep already model flow