Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0df10bd

Browse files
committed
C++: Post-merge fixup.
1 parent 1da611c commit 0df10bd

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ private newtype TIRDataFlowNode =
5454
Ssa::hasRawIndirectInstruction(node.asInstruction(), indirectionIndex)
5555
} or
5656
TFinalParameterNode(Parameter p, int indirectionIndex) {
57-
hasFinalParameterNode(_, p, indirectionIndex)
5857
exists(Ssa::FinalParameterUse use |
5958
use.getParameter() = p and
6059
use.getIndirectionIndex() = indirectionIndex
@@ -64,17 +63,6 @@ private newtype TIRDataFlowNode =
6463
TInitialGlobalValue(Ssa::GlobalDef globalUse) or
6564
TFlowSummaryNode(FlowSummaryImpl::Private::SummaryNode sn)
6665

67-
/**
68-
* Holds if `(p, indirectionIndex)` should define a `TFinalParameterNode`
69-
* entry because `use` represents the final use of a parameter that has been
70-
* written to in the enclosing function of `p`.
71-
*/
72-
predicate hasFinalParameterNode(Ssa::FinalParameterUse use, Parameter p, int indirectionIndex) {
73-
use.getParameter() = p and
74-
use.getIndirectionIndex() = indirectionIndex and
75-
parameterIsRedefined(p)
76-
}
77-
7866
/**
7967
* An operand that is defined by a `FieldAddressInstruction`.
8068
*/

0 commit comments

Comments
 (0)