Skip to content

Commit 356d928

Browse files
committed
C++: Accept test changes.
1 parent af28dd8 commit 356d928

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

cpp/ql/test/library-tests/dataflow/external-models/validatemodels.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
| Dubious signature "(forward_list &&,const Allocator &)" in summary model. |
2121
| Dubious signature "(list &&)" in summary model. |
2222
| Dubious signature "(list &&,const Allocator &)" in summary model. |
23+
| Dubious signature "(size_type,const T &)" in summary model. |
2324
| Dubious signature "(size_type,const T &,const Allocator &)" in summary model. |
2425
| Dubious signature "(vector &&)" in summary model. |
2526
| Dubious signature "(vector &&,const Allocator &)" in summary model. |

cpp/ql/test/library-tests/dataflow/taint-tests/test_mad-signatures.expected

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,30 @@ signatureMatches
119119
| stl.h:306:8:306:13 | assign | (const_iterator,const T &) | vector<T> | insert | 1 |
120120
| stl.h:306:8:306:13 | assign | (const_iterator,const T &) | vector<T> | insert | 1 |
121121
| stl.h:306:8:306:13 | assign | (const_iterator,const T &) | vector<T> | insert | 1 |
122+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | deque<T,Allocator> | assign | 0 |
123+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | deque<T,Allocator> | assign | 0 |
124+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | deque<T,Allocator> | assign | 0 |
125+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | deque<T,Allocator> | assign | 1 |
126+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | deque<T,Allocator> | assign | 1 |
127+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | deque<T,Allocator> | assign | 1 |
128+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | forward_list<T,Allocator> | assign | 0 |
129+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | forward_list<T,Allocator> | assign | 0 |
130+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | forward_list<T,Allocator> | assign | 0 |
131+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | forward_list<T,Allocator> | assign | 1 |
132+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | forward_list<T,Allocator> | assign | 1 |
133+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | forward_list<T,Allocator> | assign | 1 |
134+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | list<T,Allocator> | assign | 0 |
135+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | list<T,Allocator> | assign | 0 |
136+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | list<T,Allocator> | assign | 0 |
137+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | list<T,Allocator> | assign | 1 |
138+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | list<T,Allocator> | assign | 1 |
139+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | list<T,Allocator> | assign | 1 |
140+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | vector<T,Allocator> | assign | 0 |
141+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | vector<T,Allocator> | assign | 0 |
142+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | vector<T,Allocator> | assign | 0 |
143+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | vector<T,Allocator> | assign | 1 |
144+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | vector<T,Allocator> | assign | 1 |
145+
| stl.h:306:8:306:13 | assign | (size_type,const T &) | vector<T,Allocator> | assign | 1 |
122146
| stl.h:331:12:331:17 | insert | (const_iterator,T &&) | deque<T> | insert | 0 |
123147
| stl.h:331:12:331:17 | insert | (const_iterator,T &&) | deque<T> | insert | 1 |
124148
| stl.h:331:12:331:17 | insert | (const_iterator,T &&) | forward_list<T> | insert_after | 0 |
@@ -297,6 +321,14 @@ getSignatureParameterName
297321
| (list &&) | list | list | 0 | list && |
298322
| (list &&,const Allocator &) | list<T,Allocator> | list | 0 | list && |
299323
| (list &&,const Allocator &) | list<T,Allocator> | list | 1 | const class:1 & |
324+
| (size_type,const T &) | deque<T,Allocator> | assign | 0 | size_type |
325+
| (size_type,const T &) | deque<T,Allocator> | assign | 1 | const class:0 & |
326+
| (size_type,const T &) | forward_list<T,Allocator> | assign | 0 | size_type |
327+
| (size_type,const T &) | forward_list<T,Allocator> | assign | 1 | const class:0 & |
328+
| (size_type,const T &) | list<T,Allocator> | assign | 0 | size_type |
329+
| (size_type,const T &) | list<T,Allocator> | assign | 1 | const class:0 & |
330+
| (size_type,const T &) | vector<T,Allocator> | assign | 0 | size_type |
331+
| (size_type,const T &) | vector<T,Allocator> | assign | 1 | const class:0 & |
300332
| (size_type,const T &,const Allocator &) | deque<T,Allocator> | deque | 0 | size_type |
301333
| (size_type,const T &,const Allocator &) | deque<T,Allocator> | deque | 1 | const class:0 & |
302334
| (size_type,const T &,const Allocator &) | deque<T,Allocator> | deque | 2 | const class:1 & |

0 commit comments

Comments
 (0)