Skip to content

Commit c989e01

Browse files
authored
Merge pull request #17091 from github/sashabu/packs
C++: Update MaD tests with correct template parameter counting in the presence of packs.
2 parents 46b92f3 + 2396c3c commit c989e01

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

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

+56
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,9 @@ getParameterTypeName
496496
| stl.h:333:42:333:47 | insert | 1 | func:0 |
497497
| stl.h:333:42:333:47 | insert | 2 | func:0 |
498498
| stl.h:333:42:333:47 | insert | 2 | func:0 |
499+
| stl.h:335:37:335:43 | emplace | 0 | const_iterator |
500+
| stl.h:335:37:335:43 | emplace | 1 | func:0 && |
501+
| stl.h:336:33:336:44 | emplace_back | 0 | func:0 && |
499502
| stl.h:338:8:338:11 | swap | 0 | vector & |
500503
| stl.h:351:12:351:21 | shared_ptr | 0 | class:0 * |
501504
| stl.h:352:3:352:12 | shared_ptr | 0 | const shared_ptr & |
@@ -529,9 +532,25 @@ getParameterTypeName
529532
| stl.h:435:6:435:15 | operator[] | 0 | key_type && |
530533
| stl.h:435:6:435:15 | operator[] | 0 | key_type && |
531534
| stl.h:436:6:436:7 | at | 0 | const key_type & |
535+
| stl.h:439:48:439:54 | emplace | 0 | func:0 && |
536+
| stl.h:439:48:439:54 | emplace | 0 | func:0 && |
537+
| stl.h:440:36:440:47 | emplace_hint | 0 | const_iterator |
538+
| stl.h:440:36:440:47 | emplace_hint | 0 | const_iterator |
539+
| stl.h:440:36:440:47 | emplace_hint | 1 | func:0 && |
540+
| stl.h:440:36:440:47 | emplace_hint | 1 | func:0 && |
532541
| stl.h:443:24:443:29 | insert | 0 | value_type && |
533542
| stl.h:445:12:445:17 | insert | 0 | const_iterator |
534543
| stl.h:445:12:445:17 | insert | 1 | value_type && |
544+
| stl.h:448:48:448:58 | try_emplace | 0 | key_type && |
545+
| stl.h:448:48:448:58 | try_emplace | 0 | key_type && |
546+
| stl.h:448:48:448:58 | try_emplace | 1 | func:0 && |
547+
| stl.h:448:48:448:58 | try_emplace | 1 | func:0 && |
548+
| stl.h:450:36:450:46 | try_emplace | 0 | const_iterator |
549+
| stl.h:450:36:450:46 | try_emplace | 0 | const_iterator |
550+
| stl.h:450:36:450:46 | try_emplace | 1 | key_type && |
551+
| stl.h:450:36:450:46 | try_emplace | 1 | key_type && |
552+
| stl.h:450:36:450:46 | try_emplace | 2 | func:0 && |
553+
| stl.h:450:36:450:46 | try_emplace | 2 | func:0 && |
535554
| stl.h:452:42:452:57 | insert_or_assign | 0 | key_type && |
536555
| stl.h:452:42:452:57 | insert_or_assign | 1 | func:0 && |
537556
| stl.h:454:30:454:45 | insert_or_assign | 0 | const_iterator |
@@ -550,9 +569,34 @@ getParameterTypeName
550569
| stl.h:503:16:503:25 | operator[] | 0 | key_type && |
551570
| stl.h:503:16:503:25 | operator[] | 0 | key_type && |
552571
| stl.h:504:16:504:17 | at | 0 | const key_type & |
572+
| stl.h:507:48:507:54 | emplace | 0 | func:0 && |
573+
| stl.h:507:48:507:54 | emplace | 0 | func:0 && |
574+
| stl.h:507:48:507:54 | emplace | 0 | func:0 && |
575+
| stl.h:507:48:507:54 | emplace | 0 | func:0 && |
576+
| stl.h:507:48:507:54 | emplace | 0 | func:0 && |
577+
| stl.h:508:36:508:47 | emplace_hint | 0 | const_iterator |
578+
| stl.h:508:36:508:47 | emplace_hint | 0 | const_iterator |
579+
| stl.h:508:36:508:47 | emplace_hint | 1 | func:0 && |
580+
| stl.h:508:36:508:47 | emplace_hint | 1 | func:0 && |
553581
| stl.h:511:24:511:29 | insert | 0 | value_type && |
554582
| stl.h:513:12:513:17 | insert | 0 | const_iterator |
555583
| stl.h:513:12:513:17 | insert | 1 | value_type && |
584+
| stl.h:516:48:516:58 | try_emplace | 0 | key_type && |
585+
| stl.h:516:48:516:58 | try_emplace | 0 | key_type && |
586+
| stl.h:516:48:516:58 | try_emplace | 0 | key_type && |
587+
| stl.h:516:48:516:58 | try_emplace | 0 | key_type && |
588+
| stl.h:516:48:516:58 | try_emplace | 0 | key_type && |
589+
| stl.h:516:48:516:58 | try_emplace | 1 | func:0 && |
590+
| stl.h:516:48:516:58 | try_emplace | 1 | func:0 && |
591+
| stl.h:516:48:516:58 | try_emplace | 1 | func:0 && |
592+
| stl.h:516:48:516:58 | try_emplace | 1 | func:0 && |
593+
| stl.h:516:48:516:58 | try_emplace | 1 | func:0 && |
594+
| stl.h:518:36:518:46 | try_emplace | 0 | const_iterator |
595+
| stl.h:518:36:518:46 | try_emplace | 0 | const_iterator |
596+
| stl.h:518:36:518:46 | try_emplace | 1 | key_type && |
597+
| stl.h:518:36:518:46 | try_emplace | 1 | key_type && |
598+
| stl.h:518:36:518:46 | try_emplace | 2 | func:0 && |
599+
| stl.h:518:36:518:46 | try_emplace | 2 | func:0 && |
556600
| stl.h:520:42:520:57 | insert_or_assign | 0 | key_type && |
557601
| stl.h:520:42:520:57 | insert_or_assign | 1 | func:0 && |
558602
| stl.h:522:30:522:45 | insert_or_assign | 0 | const_iterator |
@@ -567,6 +611,12 @@ getParameterTypeName
567611
| stl.h:557:33:557:35 | set | 0 | func:0 |
568612
| stl.h:557:33:557:35 | set | 1 | func:0 |
569613
| stl.h:560:8:560:16 | operator= | 0 | const set & |
614+
| stl.h:568:48:568:54 | emplace | 0 | func:0 && |
615+
| stl.h:568:48:568:54 | emplace | 0 | func:0 && |
616+
| stl.h:569:36:569:47 | emplace_hint | 0 | const_iterator |
617+
| stl.h:569:36:569:47 | emplace_hint | 0 | const_iterator |
618+
| stl.h:569:36:569:47 | emplace_hint | 1 | func:0 && |
619+
| stl.h:569:36:569:47 | emplace_hint | 1 | func:0 && |
570620
| stl.h:571:23:571:28 | insert | 0 | value_type && |
571621
| stl.h:573:12:573:17 | insert | 0 | const_iterator |
572622
| stl.h:573:12:573:17 | insert | 1 | value_type && |
@@ -584,6 +634,12 @@ getParameterTypeName
584634
| stl.h:611:33:611:45 | unordered_set | 1 | func:0 |
585635
| stl.h:611:33:611:45 | unordered_set | 2 | size_type |
586636
| stl.h:614:18:614:26 | operator= | 0 | const unordered_set & |
637+
| stl.h:622:48:622:54 | emplace | 0 | func:0 && |
638+
| stl.h:622:48:622:54 | emplace | 0 | func:0 && |
639+
| stl.h:623:36:623:47 | emplace_hint | 0 | const_iterator |
640+
| stl.h:623:36:623:47 | emplace_hint | 0 | const_iterator |
641+
| stl.h:623:36:623:47 | emplace_hint | 1 | func:0 && |
642+
| stl.h:623:36:623:47 | emplace_hint | 1 | func:0 && |
587643
| stl.h:625:24:625:29 | insert | 0 | value_type && |
588644
| stl.h:627:12:627:17 | insert | 0 | const_iterator |
589645
| stl.h:627:12:627:17 | insert | 1 | value_type && |

0 commit comments

Comments
 (0)