File tree Expand file tree Collapse file tree
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal Expand file tree Collapse file tree Original file line number Diff line number Diff 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 */
You can’t perform that action at this time.
0 commit comments