File tree Expand file tree Collapse file tree
cpp/ql/src/semmle/code/cpp/ir/dataflow/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,6 +84,9 @@ class UninitializedNode extends Node, UninitializedInstruction {
8484 * Nodes corresponding to AST elements, for example `ExprNode`, usually refer
8585 * to the value before the update with the exception of `ClassInstanceExpr`,
8686 * which represents the value after the constructor has run.
87+ *
88+ * This class exists to match the interface used by Java. There are currently no non-abstract
89+ * classes that extend it. When we implement field flow, we can revisit this.
8790 */
8891abstract class PostUpdateNode extends Node {
8992 /**
@@ -92,17 +95,6 @@ abstract class PostUpdateNode extends Node {
9295 abstract Node getPreUpdateNode ( ) ;
9396}
9497
95- class StoreDestinationAsPostUpdateNode extends PostUpdateNode {
96- StoreInstruction si ;
97- StoreDestinationAsPostUpdateNode ( ) {
98- this = si .getDestinationAddress ( )
99- }
100-
101- override Node getPreUpdateNode ( ) {
102- result = si .getDestinationAddress ( )
103- }
104- }
105-
10698/**
10799 * Gets the `Node` corresponding to `e`.
108100 */
You can’t perform that action at this time.
0 commit comments