Skip to content

Commit 5b80fd1

Browse files
jketemardmarsh2
authored andcommitted
C++: Update tests for frontend update
1 parent abdfd22 commit 5b80fd1

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

cpp/ql/test/library-tests/dataflow/dataflow-tests/dataflow-ir-consistency.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,10 @@ postWithInFlow
238238
| lambdas.cpp:20:11:20:11 | FieldAddress [post update] | PostUpdateNode should not be the target of local flow. |
239239
| lambdas.cpp:20:11:20:11 | FieldAddress [post update] | PostUpdateNode should not be the target of local flow. |
240240
| lambdas.cpp:20:11:20:11 | FieldAddress [post update] | PostUpdateNode should not be the target of local flow. |
241-
| lambdas.cpp:23:3:23:3 | (reference dereference) [post update] | PostUpdateNode should not be the target of local flow. |
242241
| lambdas.cpp:23:3:23:14 | FieldAddress [post update] | PostUpdateNode should not be the target of local flow. |
243242
| lambdas.cpp:23:3:23:14 | VariableAddress [post update] | PostUpdateNode should not be the target of local flow. |
244243
| lambdas.cpp:23:3:23:14 | v [post update] | PostUpdateNode should not be the target of local flow. |
244+
| lambdas.cpp:23:15:23:15 | (reference dereference) [post update] | PostUpdateNode should not be the target of local flow. |
245245
| lambdas.cpp:28:7:28:7 | VariableAddress [post update] | PostUpdateNode should not be the target of local flow. |
246246
| lambdas.cpp:28:10:31:2 | FieldAddress [post update] | PostUpdateNode should not be the target of local flow. |
247247
| lambdas.cpp:28:10:31:2 | FieldAddress [post update] | PostUpdateNode should not be the target of local flow. |

cpp/ql/test/library-tests/ir/ir/operand_locations.expected

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4841,9 +4841,6 @@
48414841
| ir.cpp:1043:24:1043:24 | SideEffect | ~m1043_20 |
48424842
| ir.cpp:1043:31:1043:31 | Address | &:r1043_9 |
48434843
| ir.cpp:1043:36:1043:55 | Address | &:r1043_11 |
4844-
| ir.cpp:1043:43:1043:43 | Address | &:r1043_16 |
4845-
| ir.cpp:1043:43:1043:43 | Arg(this) | this:r1043_16 |
4846-
| ir.cpp:1043:43:1043:43 | SideEffect | ~m1043_20 |
48474844
| ir.cpp:1043:43:1043:54 | Address | &:r1043_22 |
48484845
| ir.cpp:1043:43:1043:54 | Address | &:r1043_24 |
48494846
| ir.cpp:1043:43:1043:54 | Address | &:r1043_25 |
@@ -4864,8 +4861,11 @@
48644861
| ir.cpp:1043:45:1043:49 | SideEffect | ~m1043_4 |
48654862
| ir.cpp:1043:45:1043:49 | Unary | r1043_13 |
48664863
| ir.cpp:1043:45:1043:49 | Unary | r1043_15 |
4867-
| ir.cpp:1043:53:1043:53 | Load | ~m1043_20 |
4868-
| ir.cpp:1043:53:1043:53 | Right | r1043_26 |
4864+
| ir.cpp:1043:52:1043:52 | Address | &:r1043_16 |
4865+
| ir.cpp:1043:52:1043:52 | Arg(this) | this:r1043_16 |
4866+
| ir.cpp:1043:52:1043:52 | SideEffect | ~m1043_20 |
4867+
| ir.cpp:1043:54:1043:54 | Load | ~m1043_20 |
4868+
| ir.cpp:1043:54:1043:54 | Right | r1043_26 |
48694869
| ir.cpp:1043:58:1043:58 | ChiPartial | partial:m1043_9 |
48704870
| ir.cpp:1043:58:1043:58 | ChiTotal | total:m1043_3 |
48714871
| ir.cpp:1043:58:1043:58 | StoreValue | r1043_8 |
@@ -4980,9 +4980,6 @@
49804980
| ir.cpp:1047:34:1047:34 | SideEffect | ~m1047_20 |
49814981
| ir.cpp:1047:41:1047:41 | Address | &:r1047_9 |
49824982
| ir.cpp:1047:46:1047:65 | Address | &:r1047_11 |
4983-
| ir.cpp:1047:53:1047:53 | Address | &:r1047_16 |
4984-
| ir.cpp:1047:53:1047:53 | Arg(this) | this:r1047_16 |
4985-
| ir.cpp:1047:53:1047:53 | SideEffect | ~m1047_20 |
49864983
| ir.cpp:1047:53:1047:64 | Address | &:r1047_23 |
49874984
| ir.cpp:1047:53:1047:64 | Load | ~m1047_20 |
49884985
| ir.cpp:1047:53:1047:64 | StoreValue | r1047_24 |
@@ -4997,6 +4994,9 @@
49974994
| ir.cpp:1047:55:1047:59 | SideEffect | ~m1047_4 |
49984995
| ir.cpp:1047:55:1047:59 | Unary | r1047_13 |
49994996
| ir.cpp:1047:55:1047:59 | Unary | r1047_15 |
4997+
| ir.cpp:1047:62:1047:62 | Address | &:r1047_16 |
4998+
| ir.cpp:1047:62:1047:62 | Arg(this) | this:r1047_16 |
4999+
| ir.cpp:1047:62:1047:62 | SideEffect | ~m1047_20 |
50005000
| ir.cpp:1047:63:1047:63 | Right | r1047_22 |
50015001
| ir.cpp:1047:68:1047:68 | StoreValue | r1047_8 |
50025002
| ir.cpp:1047:68:1047:68 | Unary | r1047_7 |
@@ -5105,9 +5105,6 @@
51055105
| ir.cpp:1051:39:1051:39 | SideEffect | ~m1051_20 |
51065106
| ir.cpp:1051:46:1051:46 | Address | &:r1051_9 |
51075107
| ir.cpp:1051:51:1051:70 | Address | &:r1051_11 |
5108-
| ir.cpp:1051:58:1051:58 | Address | &:r1051_16 |
5109-
| ir.cpp:1051:58:1051:58 | Arg(this) | this:r1051_16 |
5110-
| ir.cpp:1051:58:1051:58 | SideEffect | ~m1051_20 |
51115108
| ir.cpp:1051:58:1051:69 | Address | &:r1051_22 |
51125109
| ir.cpp:1051:58:1051:69 | Address | &:r1051_24 |
51135110
| ir.cpp:1051:58:1051:69 | Address | &:r1051_26 |
@@ -5128,6 +5125,9 @@
51285125
| ir.cpp:1051:60:1051:64 | SideEffect | ~m1051_4 |
51295126
| ir.cpp:1051:60:1051:64 | Unary | r1051_13 |
51305127
| ir.cpp:1051:60:1051:64 | Unary | r1051_15 |
5128+
| ir.cpp:1051:67:1051:67 | Address | &:r1051_16 |
5129+
| ir.cpp:1051:67:1051:67 | Arg(this) | this:r1051_16 |
5130+
| ir.cpp:1051:67:1051:67 | SideEffect | ~m1051_20 |
51315131
| ir.cpp:1051:73:1051:73 | ChiPartial | partial:m1051_9 |
51325132
| ir.cpp:1051:73:1051:73 | ChiTotal | total:m1051_3 |
51335133
| ir.cpp:1051:73:1051:73 | StoreValue | r1051_8 |
@@ -5192,9 +5192,6 @@
51925192
| ir.cpp:1054:49:1054:49 | SideEffect | ~m1054_20 |
51935193
| ir.cpp:1054:56:1054:56 | Address | &:r1054_9 |
51945194
| ir.cpp:1054:61:1054:88 | Address | &:r1054_11 |
5195-
| ir.cpp:1054:68:1054:68 | Address | &:r1054_16 |
5196-
| ir.cpp:1054:68:1054:68 | Arg(this) | this:r1054_16 |
5197-
| ir.cpp:1054:68:1054:68 | SideEffect | ~m1054_20 |
51985195
| ir.cpp:1054:68:1054:87 | Address | &:r1054_37 |
51995196
| ir.cpp:1054:68:1054:87 | Load | ~m1054_20 |
52005197
| ir.cpp:1054:68:1054:87 | StoreValue | r1054_38 |
@@ -5209,6 +5206,9 @@
52095206
| ir.cpp:1054:70:1054:74 | SideEffect | ~m1054_4 |
52105207
| ir.cpp:1054:70:1054:74 | Unary | r1054_13 |
52115208
| ir.cpp:1054:70:1054:74 | Unary | r1054_15 |
5209+
| ir.cpp:1054:77:1054:77 | Address | &:r1054_16 |
5210+
| ir.cpp:1054:77:1054:77 | Arg(this) | this:r1054_16 |
5211+
| ir.cpp:1054:77:1054:77 | SideEffect | ~m1054_20 |
52125212
| ir.cpp:1054:78:1054:82 | Address | &:r1054_22 |
52135213
| ir.cpp:1054:78:1054:82 | Address | &:r1054_24 |
52145214
| ir.cpp:1054:78:1054:82 | Left | r1054_25 |

0 commit comments

Comments
 (0)