C++: clean up after rebase

This commit is contained in:
Robert Marsh
2019-09-13 11:59:09 -07:00
parent 49088e7f09
commit 554d6390f7
3 changed files with 2 additions and 6 deletions

View File

@@ -226,7 +226,7 @@ private predicate isArgumentForParameter(CallInstruction ci, Operand operand, In
ci = operand.getUse() and
f = ci.getStaticCallTarget() and
(
init.(InitializeParameterInstruction).getVariable().getAST() = f
init.(InitializeParameterInstruction).getParameter() = f
.getParameter(operand.(PositionalArgumentOperand).getIndex())
or
init instanceof InitializeThisInstruction and

View File

@@ -94,10 +94,6 @@ abstract class TranslatedCall extends TranslatedExpr {
then result = getSideEffects().getFirstInstruction()
else result = getParent().getChildSuccessor(this)
)
or
hasSideEffect() and
tag = CallSideEffectTag() and
result = getParent().getChildSuccessor(this)
)
}

View File

@@ -226,7 +226,7 @@ private predicate isArgumentForParameter(CallInstruction ci, Operand operand, In
ci = operand.getUse() and
f = ci.getStaticCallTarget() and
(
init.(InitializeParameterInstruction).getVariable().getAST() = f
init.(InitializeParameterInstruction).getParameter() = f
.getParameter(operand.(PositionalArgumentOperand).getIndex())
or
init instanceof InitializeThisInstruction and