Skip to content

Commit b9a2936

Browse files
committed
C++: Update expected test results
1 parent a1b4756 commit b9a2936

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

cpp/ql/test/library-tests/declstmt/getDeclaration.expected

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
| cpp.cpp:3:5:3:51 | declaration | 0 | cpp.cpp:3:19:3:24 | twisty |
22
| cpp.cpp:3:5:3:51 | declaration | 0 | cpp.cpp:3:43:3:48 | twisty |
3+
| cpp.cpp:3:15:3:27 | declaration | 0 | cpp.cpp:3:19:3:24 | twisty |
4+
| cpp.cpp:3:15:3:27 | declaration | 0 | cpp.cpp:3:43:3:48 | twisty |
35
| cpp.cpp:5:5:5:62 | declaration | 0 | cpp.cpp:5:61:5:61 | i |
46
| cpp.cpp:5:38:5:51 | declaration | 0 | cpp.cpp:5:44:5:44 | t |
57
| declstmt.c:7:5:7:19 | declaration | 0 | declstmt.c:7:9:7:12 | fun1 |

cpp/ql/test/library-tests/declstmt/getDeclarationEntry.expected

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
| cpp.cpp:3:5:3:51 | declaration | 0 | cpp.cpp:3:43:3:48 | declaration of twisty |
2+
| cpp.cpp:3:15:3:27 | declaration | 0 | cpp.cpp:3:19:3:24 | declaration of twisty |
23
| cpp.cpp:5:5:5:62 | declaration | 0 | cpp.cpp:5:61:5:61 | definition of i |
34
| cpp.cpp:5:38:5:51 | declaration | 0 | cpp.cpp:5:44:5:44 | declaration of t |
45
| declstmt.c:7:5:7:19 | declaration | 0 | declstmt.c:7:9:7:12 | definition of fun1 |
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
| file://:0:0:0:0 | 0 | file://:0:0:0:0 | int |
2-
| test.c:7:20:7:21 | E | file://:0:0:0:0 | int |
2+
| test.c:7:14:7:14 | E | file://:0:0:0:0 | int |
3+
| test.c:7:20:7:21 | E | test.c:7:14:7:14 | typeof(...) |

cpp/ql/test/library-tests/syntax-zoo/dataflow-consistency.expected

+3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ uniqueEnclosingCallable
88
| misc.c:210:24:210:24 | 0 | Node should have one enclosing callable but has 0. |
99
| misc.c:210:24:210:28 | ... + ... | Node should have one enclosing callable but has 0. |
1010
| misc.c:210:28:210:28 | 1 | Node should have one enclosing callable but has 0. |
11+
| stmt_in_type.cpp:3:12:3:40 | (statement expression) | Node should have one enclosing callable but has 0. |
12+
| stmt_in_type.cpp:3:29:3:34 | call to twisty | Node should have one enclosing callable but has 0. |
1113
uniqueCallEnclosingCallable
14+
| stmt_in_type.cpp:3:29:3:34 | call to twisty | Call should have one enclosing callable but has 0. |
1215
uniqueType
1316
uniqueNodeLocation
1417
| file://:0:0:0:0 | (unnamed parameter 2) | Node should have one location but has 0. |

0 commit comments

Comments
 (0)