Skip to content

Commit 57cd9b3

Browse files
author
Matthew Gretton-Dann
committed
C++: Update test results
We now support getting the name used for non-type template parameters
1 parent 4698326 commit 57cd9b3

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

cpp/ql/test/library-tests/ptr_to_member/segfault/exprs.expected

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
| file://:0:0:0:0 | Unknown literal | file://:0:0:0:0 | unsigned long |
2-
| file://:0:0:0:0 | Unknown literal | file://:0:0:0:0 | unsigned long |
3-
| file://:0:0:0:0 | Unknown literal | file://:0:0:0:0 | unsigned long |
4-
| file://:0:0:0:0 | Unknown literal | file://:0:0:0:0 | unsigned long |
1+
| file://:0:0:0:0 | __i | file://:0:0:0:0 | unsigned long |
2+
| file://:0:0:0:0 | uls | file://:0:0:0:0 | unsigned long |
3+
| file://:0:0:0:0 | uls | file://:0:0:0:0 | unsigned long |
4+
| file://:0:0:0:0 | uls | file://:0:0:0:0 | unsigned long |
55
| segfault.cpp:25:46:25:65 | call to S | file://:0:0:0:0 | void |
66
| segfault.cpp:25:46:25:65 | call to S | file://:0:0:0:0 | void |
77
| segfault.cpp:25:48:25:55 | __second | segfault.cpp:15:7:15:11 | tuple |

cpp/ql/test/library-tests/templates/CPP-204/element.expected

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
| file://:0:0:0:0 | |
22
| file://:0:0:0:0 | 0 |
33
| file://:0:0:0:0 | (global namespace) |
4-
| file://:0:0:0:0 | Unknown literal |
5-
| file://:0:0:0:0 | Unknown literal |
6-
| file://:0:0:0:0 | Unknown literal |
7-
| file://:0:0:0:0 | Unknown literal |
8-
| file://:0:0:0:0 | Unknown literal |
9-
| file://:0:0:0:0 | Unknown literal |
4+
| file://:0:0:0:0 | B |
5+
| file://:0:0:0:0 | X |
6+
| file://:0:0:0:0 | X |
7+
| file://:0:0:0:0 | X |
8+
| file://:0:0:0:0 | X |
9+
| file://:0:0:0:0 | Y |
1010
| file://:0:0:0:0 | __va_list_tag |
1111
| file://:0:0:0:0 | __va_list_tag & |
1212
| file://:0:0:0:0 | __va_list_tag && |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
| test.cpp:2:7:2:9 | Int<10> | file://:0:0:0:0 | int | test.cpp:4:5:4:6 | 10 |
2-
| test.cpp:2:7:2:9 | Int<i> | file://:0:0:0:0 | int | file://:0:0:0:0 | Unknown literal |
2+
| test.cpp:2:7:2:9 | Int<i> | file://:0:0:0:0 | int | file://:0:0:0:0 | i |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
| test.cpp:3:5:3:5 | addToSelf | file://:0:0:0:0 | int | test.cpp:5:30:5:31 | 10 |
2-
| test.cpp:3:5:3:13 | addToSelf | file://:0:0:0:0 | int | file://:0:0:0:0 | Unknown literal |
2+
| test.cpp:3:5:3:13 | addToSelf | file://:0:0:0:0 | int | file://:0:0:0:0 | i |

0 commit comments

Comments
 (0)