Skip to content

Commit 4116292

Browse files
committed
C++: Accept test changes.
1 parent 2033552 commit 4116292

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20421,7 +20421,10 @@ ir.cpp:
2042120421
# 2776| m2776_6(unknown) = Chi : total:m2775_6, partial:m2776_5
2042220422
# 2776| m2776_7(unknown) = ^InitializeDynamicAllocation : &:r2776_4
2042320423
# 2776| r2776_8(long *) = Convert : r2776_4
20424-
# 2776| m2776_9(long *) = Store[p2] : &:r2776_1, r2776_8
20424+
# 2776| r2776_9(long) = Constant[42] :
20425+
# 2776| m2776_10(long) = Store[?] : &:r2776_8, r2776_9
20426+
# 2776| m2776_11(unknown) = Chi : total:m2776_7, partial:m2776_10
20427+
# 2776| m2776_12(long *) = Store[p2] : &:r2776_1, r2776_8
2042520428
# 2777| v2777_1(void) = NoOp :
2042620429
# 2774| v2774_5(void) = ReturnVoid :
2042720430
# 2774| v2774_6(void) = AliasedUse : ~m2776_6

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ missingOperandType
66
duplicateChiOperand
77
sideEffectWithoutPrimary
88
instructionWithoutSuccessor
9-
| ir.cpp:2776:25:2776:26 | Constant: (long)... | Instruction 'Constant: (long)...' has no successors in function '$@'. | ir.cpp:2774:6:2774:37 | void test_allocation_with_initializer() | void test_allocation_with_initializer() |
109
ambiguousSuccessors
1110
unexplainedLoop
1211
unnecessaryPhiInstruction

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18569,15 +18569,14 @@ ir.cpp:
1856918569
# 2776| mu2776_5(unknown) = ^CallSideEffect : ~m?
1857018570
# 2776| mu2776_6(unknown) = ^InitializeDynamicAllocation : &:r2776_4
1857118571
# 2776| r2776_7(long *) = Convert : r2776_4
18572-
# 2776| mu2776_8(long *) = Store[p2] : &:r2776_1, r2776_7
18572+
# 2776| r2776_8(long) = Constant[42] :
18573+
# 2776| mu2776_9(long) = Store[?] : &:r2776_7, r2776_8
18574+
# 2776| mu2776_10(long *) = Store[p2] : &:r2776_1, r2776_7
1857318575
# 2777| v2777_1(void) = NoOp :
1857418576
# 2774| v2774_4(void) = ReturnVoid :
1857518577
# 2774| v2774_5(void) = AliasedUse : ~m?
1857618578
# 2774| v2774_6(void) = ExitFunction :
1857718579

18578-
# 2776| Block 1
18579-
# 2776| r2776_9(long) = Constant[42] :
18580-
1858118580
ir23.cpp:
1858218581
# 1| bool consteval_1()
1858318582
# 1| Block 0

0 commit comments

Comments
 (0)