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

Skip to content

Commit 9f9ffef

Browse files
committed
C++: Make the Node IPA type private.
1 parent de70cbf commit 9f9ffef

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ private import DataFlowImplCommon as DataFlowImplCommon
1717

1818
/**
1919
* The IR dataflow graph consists of the following nodes:
20-
* - `InstructionNode`, which injects most instructions directly into the dataflow graph.
21-
* - `OperandNode`, which similarly injects most operands directly into the dataflow graph.
20+
* - `Node0`, which injects most instructions and operands directly into the dataflow graph.
2221
* - `VariableNode`, which is used to model flow through global variables.
2322
* - `PostFieldUpdateNode`, which is used to model the state of a field after a value has been stored
2423
* into an address after a number of loads.
@@ -31,7 +30,7 @@ private import DataFlowImplCommon as DataFlowImplCommon
3130
* of times.
3231
*/
3332
cached
34-
newtype TIRDataFlowNode =
33+
private newtype TIRDataFlowNode =
3534
TNode0(Node0Impl node) { DataFlowImplCommon::forceCachingInSameStage() } or
3635
TVariableNode(Variable var) or
3736
TPostFieldUpdateNode(FieldAddress operand, int indirectionIndex) {

0 commit comments

Comments
 (0)