Skip to content

Commit 3ca8fdd

Browse files
committed
C++: accept more test changes following extractor frontend upgrade
1 parent f1ec467 commit 3ca8fdd

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

cpp/ql/test/library-tests/friends/loop/friends.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
| file://:0:0:0:0 | F<D>'s friend | loop.cpp:5:26:5:26 | E<D> |
77
| loop.cpp:6:5:6:5 | E<T>'s friend | loop.cpp:5:26:5:26 | E<T> |
88
| loop.cpp:7:5:7:5 | E<T>'s friend | loop.cpp:7:36:7:36 | F<U> |
9-
| loop.cpp:11:5:11:5 | F<T>'s friend | loop.cpp:5:26:5:26 | E<T> |
9+
| loop.cpp:11:5:11:5 | F<T>'s friend | loop.cpp:11:36:11:36 | E<U> |

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
| test.cpp:7:8:7:10 | IsX<X> |
3030
| test.cpp:7:8:7:10 | definition of IsX<X> |
3131
| test.cpp:8:23:8:27 | Value |
32-
| test.cpp:8:23:8:27 | declaration of Value |
32+
| test.cpp:8:23:8:27 | definition of Value |
3333
| test.cpp:8:31:8:35 | 0 |
3434
| test.cpp:8:31:8:35 | initializer for Value |
3535
| test.cpp:11:10:11:11 | mention of EC |
@@ -43,7 +43,7 @@
4343
| test.cpp:17:8:17:9 | IX<X> |
4444
| test.cpp:17:8:17:9 | definition of IX<X> |
4545
| test.cpp:18:21:18:25 | Value |
46-
| test.cpp:18:21:18:25 | declaration of Value |
46+
| test.cpp:18:21:18:25 | definition of Value |
4747
| test.cpp:18:29:18:32 | EC:: |
4848
| test.cpp:18:29:18:33 | V |
4949
| test.cpp:18:29:18:33 | initializer for Value |

cpp/ql/test/library-tests/templates/isfromtemplateinstantiation/isfromuninstantiatedtemplate.expected

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
isFromUninstantiatedTemplate
2-
| file://:0:0:0:0 | Unknown literal | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass<T> |
3-
| file://:0:0:0:0 | Unknown literal | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass<T> |
2+
| file://:0:0:0:0 | 0 | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass<T> |
3+
| file://:0:0:0:0 | 0 | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass<T> |
4+
| file://:0:0:0:0 | (int)... | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass<T> |
5+
| file://:0:0:0:0 | (int)... | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass<T> |
46
| file://:0:0:0:0 | declaration of 1st parameter | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer<T> |
57
| file://:0:0:0:0 | declaration of 1st parameter | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer<T> |
68
| file://:0:0:0:0 | initializer for MyClassEnumConst | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass<T> |

0 commit comments

Comments
 (0)