mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
C++: clean up after rebase
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user