Skip to content

Commit 752bc2e

Browse files
committed
C++: Accept test changes after AST-based GVN deprecation
1 parent 5bbdaad commit 752bc2e

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

cpp/ql/test/library-tests/valuenumbering/GlobalValueNumbering/ast_gvn.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
WARNING: Type GVN has been deprecated and may be removed in future (ast_gvn.ql:4,6-9)
12
| test.cpp:5:3:5:3 | x | 5:c3-c3 6:c3-c3 |
23
| test.cpp:5:7:5:8 | p0 | 5:c7-c8 6:c7-c8 |
34
| test.cpp:5:7:5:13 | ... + ... | 5:c7-c13 6:c7-c13 7:c7-c7 |
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
WARNING: Predicate globalValueNumber has been deprecated and may be removed in future (ast_uniqueness.ql:7,13-30)
2+
WARNING: Predicate globalValueNumber has been deprecated and may be removed in future (ast_uniqueness.ql:8,30-47)
3+
WARNING: Type GVN has been deprecated and may be removed in future (ast_uniqueness.ql:8,18-21)

cpp/ql/test/library-tests/valuenumbering/GlobalValueNumbering/diff_ir_expr.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
WARNING: Predicate globalValueNumber has been deprecated and may be removed in future (diff_ir_expr.ql:8,29-51)
12
| test.cpp:5:3:5:13 | ... = ... | test.cpp:5:3:5:13 | ... = ... | AST only |
23
| test.cpp:6:3:6:13 | ... = ... | test.cpp:6:3:6:13 | ... = ... | AST only |
34
| test.cpp:7:3:7:7 | ... = ... | test.cpp:7:3:7:7 | ... = ... | AST only |

0 commit comments

Comments
 (0)