Accidental removal of an and.

This commit is contained in:
Benjamin Rodes
2024-02-16 10:15:21 -05:00
parent 95ebbb1bbd
commit 5b0a3dcdbe

View File

@@ -95,7 +95,8 @@ predicate isNonConst(DataFlow::Node node) {
|
node = callOutput(call, output)
)
) not exists(Call c |
) and
not exists(Call c |
c.getTarget().hasDefinition() and
if node instanceof DataFlow::DefinitionByReferenceNode
then c.getAnArgument() = node.asDefiningArgument()