Skip to content

Commit 66914e5

Browse files
committed
C++: accept test changes
1 parent 5ae1e2c commit 66914e5

File tree

6 files changed

+6
-7
lines changed

6 files changed

+6
-7
lines changed

cpp/ql/test/library-tests/dataflow/dataflow-tests/test_diff.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
| BarrierGuard.cpp:60:11:60:16 | BarrierGuard.cpp:62:14:62:14 | AST only |
22
| BarrierGuard.cpp:60:11:60:16 | BarrierGuard.cpp:64:14:64:14 | AST only |
33
| BarrierGuard.cpp:60:11:60:16 | BarrierGuard.cpp:66:14:66:14 | AST only |
4-
| clang.cpp:12:9:12:20 | clang.cpp:18:8:18:19 | AST only |
54
| clang.cpp:12:9:12:20 | clang.cpp:22:8:22:20 | AST only |
65
| clang.cpp:28:27:28:32 | clang.cpp:29:27:29:28 | AST only |
76
| clang.cpp:28:27:28:32 | clang.cpp:30:27:30:34 | AST only |
@@ -22,7 +21,6 @@
2221
| lambdas.cpp:8:10:8:15 | lambdas.cpp:18:8:18:8 | AST only |
2322
| lambdas.cpp:8:10:8:15 | lambdas.cpp:21:3:21:6 | AST only |
2423
| lambdas.cpp:8:10:8:15 | lambdas.cpp:29:3:29:6 | AST only |
25-
| lambdas.cpp:8:10:8:15 | lambdas.cpp:35:8:35:8 | AST only |
2624
| lambdas.cpp:8:10:8:15 | lambdas.cpp:41:8:41:8 | AST only |
2725
| lambdas.cpp:43:7:43:12 | lambdas.cpp:46:7:46:7 | AST only |
2826
| ref.cpp:29:11:29:16 | ref.cpp:62:10:62:11 | AST only |

cpp/ql/test/library-tests/dataflow/dataflow-tests/test_ir.expected

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
| BarrierGuard.cpp:55:13:55:13 | x | BarrierGuard.cpp:49:10:49:15 | call to source |
88
| acrossLinkTargets.cpp:12:8:12:8 | (int)... | acrossLinkTargets.cpp:19:27:19:32 | call to source |
99
| acrossLinkTargets.cpp:12:8:12:8 | x | acrossLinkTargets.cpp:19:27:19:32 | call to source |
10+
| clang.cpp:18:8:18:19 | (const int *)... | clang.cpp:12:9:12:20 | sourceArray1 |
11+
| clang.cpp:18:8:18:19 | sourceArray1 | clang.cpp:12:9:12:20 | sourceArray1 |
1012
| clang.cpp:37:10:37:11 | m2 | clang.cpp:34:32:34:37 | call to source |
1113
| clang.cpp:41:18:41:19 | m2 | clang.cpp:39:42:39:47 | call to source |
1214
| clang.cpp:45:17:45:18 | m2 | clang.cpp:43:35:43:40 | call to source |
@@ -28,6 +30,7 @@
2830
| dispatch.cpp:55:22:55:30 | call to isSource1 | dispatch.cpp:22:37:22:42 | call to source |
2931
| dispatch.cpp:58:28:58:36 | call to isSource1 | dispatch.cpp:22:37:22:42 | call to source |
3032
| dispatch.cpp:96:8:96:8 | x | dispatch.cpp:107:17:107:22 | call to source |
33+
| lambdas.cpp:35:8:35:8 | a | lambdas.cpp:8:10:8:15 | call to source |
3134
| test.cpp:7:8:7:9 | t1 | test.cpp:6:12:6:17 | call to source |
3235
| test.cpp:9:8:9:9 | t1 | test.cpp:6:12:6:17 | call to source |
3336
| test.cpp:10:8:10:9 | t2 | test.cpp:6:12:6:17 | call to source |

cpp/ql/test/library-tests/dataflow/taint-tests/test_diff.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,11 @@
1313
| taint.cpp:181:8:181:9 | taint.cpp:185:11:185:16 | AST only |
1414
| taint.cpp:195:7:195:7 | taint.cpp:192:23:192:28 | AST only |
1515
| taint.cpp:195:7:195:7 | taint.cpp:193:6:193:6 | AST only |
16-
| taint.cpp:215:7:215:7 | taint.cpp:207:6:207:11 | AST only |
1716
| taint.cpp:216:7:216:7 | taint.cpp:207:6:207:11 | AST only |
1817
| taint.cpp:229:3:229:6 | taint.cpp:223:10:223:15 | AST only |
1918
| taint.cpp:233:8:233:8 | taint.cpp:223:10:223:15 | AST only |
2019
| taint.cpp:236:3:236:6 | taint.cpp:223:10:223:15 | AST only |
2120
| taint.cpp:244:3:244:6 | taint.cpp:223:10:223:15 | AST only |
22-
| taint.cpp:250:8:250:8 | taint.cpp:223:10:223:15 | AST only |
2321
| taint.cpp:256:8:256:8 | taint.cpp:223:10:223:15 | AST only |
2422
| taint.cpp:261:7:261:7 | taint.cpp:258:7:258:12 | AST only |
2523
| taint.cpp:351:7:351:7 | taint.cpp:330:6:330:11 | AST only |

cpp/ql/test/library-tests/dataflow/taint-tests/test_ir.expected

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
| taint.cpp:167:8:167:13 | call to source | taint.cpp:167:8:167:13 | call to source |
1010
| taint.cpp:168:8:168:14 | tainted | taint.cpp:164:19:164:24 | call to source |
1111
| taint.cpp:210:7:210:7 | x | taint.cpp:207:6:207:11 | call to source |
12+
| taint.cpp:215:7:215:7 | x | taint.cpp:207:6:207:11 | call to source |
13+
| taint.cpp:250:8:250:8 | a | taint.cpp:223:10:223:15 | call to source |
1214
| taint.cpp:280:7:280:7 | t | taint.cpp:275:6:275:11 | call to source |
1315
| taint.cpp:289:7:289:7 | t | taint.cpp:275:6:275:11 | call to source |
1416
| taint.cpp:290:7:290:7 | x | taint.cpp:275:6:275:11 | call to source |

cpp/ql/test/library-tests/rangeanalysis/signanalysis/SignAnalysis.expected

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
| inline_assembly.c:10:3:10:7 | Store: ... = ... | positive strictlyPositive |
1717
| inline_assembly.c:10:7:10:7 | Constant: (unsigned int)... | positive strictlyPositive |
1818
| inline_assembly.c:12:32:12:32 | Load: y | positive strictlyPositive |
19-
| inline_assembly.c:21:29:21:29 | Load: x | positive |
20-
| inline_assembly.c:21:32:21:32 | Load: y | positive |
19+
| inline_assembly.c:21:32:21:32 | Load: y | positive strictlyPositive |
2120
| minmax.c:16:9:16:10 | Constant: 1 | positive strictlyPositive |
2221
| minmax.c:16:9:16:10 | Store: 1 | positive strictlyPositive |
2322
| minmax.c:16:16:16:17 | Constant: 2 | positive strictlyPositive |

cpp/ql/test/library-tests/syntax-zoo/aliased_ssa_sanity.expected

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ missingOperand
2727
| 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 | IR: HierarchyConversions | void HierarchyConversions() |
2828
| 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 | IR: HierarchyConversions | void HierarchyConversions() |
2929
| misc.c:125:5:125:11 | CopyValue: (statement expression) | Instruction 'CopyValue' is missing an expected operand with tag 'Unary' in function '$@'. | misc.c:97:6:97:10 | IR: misc3 | void misc3() |
30-
| try_catch.cpp:13:5:13:16 | Chi: call to exn1 | Instruction 'Chi' is missing an expected operand with tag 'ChiTotal' in function '$@'. | try_catch.cpp:11:6:11:17 | IR: bypass_catch | void bypass_catch() |
3130
unexpectedOperand
3231
duplicateOperand
3332
missingPhiOperand

0 commit comments

Comments
 (0)