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

Skip to content

Commit 80b832e

Browse files
author
Dave Bartolomeo
committed
Fix test expectations
1 parent badb117 commit 80b832e

7 files changed

Lines changed: 402 additions & 109 deletions

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9652,7 +9652,7 @@ ir.cpp:
96529652
# 1178| body: [BlockStmt] { ... }
96539653
# 1179| 0: [ReturnStmt] return ...
96549654
# 1179| 0: [ConstructorCall] call to String
9655-
# 1179| Type = [Struct] String
9655+
# 1179| Type = [VoidType] void
96569656
# 1179| ValueCategory = prvalue
96579657
# 1179| 0: [ArrayToPointerConversion] array to pointer conversion
96589658
# 1179| Type = [PointerType] const char *
@@ -10535,7 +10535,7 @@ ir.cpp:
1053510535
# 1326| body: [BlockStmt] { ... }
1053610536
# 1327| 0: [ReturnStmt] return ...
1053710537
# 1327| 0: [ConstructorCall] call to String
10538-
# 1327| Type = [Struct] String
10538+
# 1327| Type = [VoidType] void
1053910539
# 1327| ValueCategory = prvalue
1054010540
# 1326| [TemplateFunction,TopLevelFunction] T defaultConstruct<T>()
1054110541
# 1326| params:
@@ -10550,14 +10550,14 @@ ir.cpp:
1055010550
# 1326| body: [BlockStmt] { ... }
1055110551
# 1327| 0: [ReturnStmt] return ...
1055210552
# 1327| 0: [ConstructorCall] call to copy_constructor
10553-
# 1327| Type = [Class] copy_constructor
10553+
# 1327| Type = [VoidType] void
1055410554
# 1327| ValueCategory = prvalue
1055510555
# 1326| [FunctionTemplateInstantiation,TopLevelFunction] destructor_only defaultConstruct<destructor_only>()
1055610556
# 1326| params:
1055710557
# 1326| body: [BlockStmt] { ... }
1055810558
# 1327| 0: [ReturnStmt] return ...
1055910559
# 1327| 0: [Literal] 0
10560-
# 1327| Type = [RoutineType] ..()(..)
10560+
# 1327| Type = [Class] destructor_only
1056110561
# 1327| Value = [Literal] 0
1056210562
# 1327| ValueCategory = prvalue
1056310563
# 1330| [CopyAssignmentOperator] constructor_only& constructor_only::operator=(constructor_only const&)

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
missingOperand
2-
| ir.cpp:809:7:809:13 | IndirectMayWriteSideEffect: call to Base | Instruction 'IndirectMayWriteSideEffect' is missing an expected operand with tag 'Address' in function '$@'. | ir.cpp:799:6:799:25 | void HierarchyConversions() | void HierarchyConversions() |
3-
| ir.cpp:810:7:810:26 | IndirectMayWriteSideEffect: call to Base | Instruction 'IndirectMayWriteSideEffect' is missing an expected operand with tag 'Address' in function '$@'. | ir.cpp:799:6:799:25 | void HierarchyConversions() | void HierarchyConversions() |
4-
| ir.cpp:823:7:823:13 | IndirectMayWriteSideEffect: call to Base | Instruction 'IndirectMayWriteSideEffect' is missing an expected operand with tag 'Address' in function '$@'. | ir.cpp:799:6:799:25 | void HierarchyConversions() | void HierarchyConversions() |
5-
| ir.cpp:824:7:824:26 | IndirectMayWriteSideEffect: call to Base | Instruction 'IndirectMayWriteSideEffect' is missing an expected operand with tag 'Address' in function '$@'. | ir.cpp:799:6:799:25 | void HierarchyConversions() | void HierarchyConversions() |
62
unexpectedOperand
73
duplicateOperand
84
missingPhiOperand

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
missingOperand
2-
| ir.cpp:809:7:809:13 | IndirectMayWriteSideEffect: call to Base | Instruction 'IndirectMayWriteSideEffect' is missing an expected operand with tag 'Address' in function '$@'. | ir.cpp:799:6:799:25 | void HierarchyConversions() | void HierarchyConversions() |
3-
| ir.cpp:810:7:810:26 | IndirectMayWriteSideEffect: call to Base | Instruction 'IndirectMayWriteSideEffect' is missing an expected operand with tag 'Address' in function '$@'. | ir.cpp:799:6:799:25 | void HierarchyConversions() | void HierarchyConversions() |
4-
| ir.cpp:823:7:823:13 | IndirectMayWriteSideEffect: call to Base | Instruction 'IndirectMayWriteSideEffect' is missing an expected operand with tag 'Address' in function '$@'. | ir.cpp:799:6:799:25 | void HierarchyConversions() | void HierarchyConversions() |
5-
| ir.cpp:824:7:824:26 | IndirectMayWriteSideEffect: call to Base | Instruction 'IndirectMayWriteSideEffect' is missing an expected operand with tag 'Address' in function '$@'. | ir.cpp:799:6:799:25 | void HierarchyConversions() | void HierarchyConversions() |
62
unexpectedOperand
73
duplicateOperand
84
missingPhiOperand

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
missingOperand
2-
| ir.cpp:809:7:809:13 | IndirectMayWriteSideEffect: call to Base | Instruction 'IndirectMayWriteSideEffect' is missing an expected operand with tag 'Address' in function '$@'. | ir.cpp:799:6:799:25 | void HierarchyConversions() | void HierarchyConversions() |
3-
| ir.cpp:810:7:810:26 | IndirectMayWriteSideEffect: call to Base | Instruction 'IndirectMayWriteSideEffect' is missing an expected operand with tag 'Address' in function '$@'. | ir.cpp:799:6:799:25 | void HierarchyConversions() | void HierarchyConversions() |
4-
| ir.cpp:823:7:823:13 | IndirectMayWriteSideEffect: call to Base | Instruction 'IndirectMayWriteSideEffect' is missing an expected operand with tag 'Address' in function '$@'. | ir.cpp:799:6:799:25 | void HierarchyConversions() | void HierarchyConversions() |
5-
| ir.cpp:824:7:824:26 | IndirectMayWriteSideEffect: call to Base | Instruction 'IndirectMayWriteSideEffect' is missing an expected operand with tag 'Address' in function '$@'. | ir.cpp:799:6:799:25 | void HierarchyConversions() | void HierarchyConversions() |
62
unexpectedOperand
73
duplicateOperand
84
missingPhiOperand

0 commit comments

Comments
 (0)