C++: Fix iterator return types and accept test changes.

This commit is contained in:
Mathias Vorreiter Pedersen 2024-04-26 18:16:49 +01:00
Родитель d3d2e2188d
Коммит 527409d05f
2 изменённых файлов: 2 добавлений и 5 удалений

Просмотреть файл

@ -66,8 +66,8 @@ public:
insert_iterator_by_trait operator++(int);
insert_iterator_by_trait &operator--();
insert_iterator_by_trait operator--(int);
insert_iterator_by_trait operator*();
insert_iterator_by_trait operator=(int x);
insert_iterator_by_trait& operator*();
insert_iterator_by_trait& operator=(int x);
};
template<>

Просмотреть файл

@ -4,8 +4,5 @@ WARNING: Module DataFlow has been deprecated and may be removed in future (taint
WARNING: Module DataFlow has been deprecated and may be removed in future (taint.ql:68,25-33)
WARNING: Module TaintTracking has been deprecated and may be removed in future (taint.ql:73,20-33)
testFailures
| standalone_iterators.cpp:95:15:95:25 | // $ ast,ir | Missing result:ir= |
| standalone_iterators.cpp:112:11:112:21 | // $ ast,ir | Missing result:ir= |
| standalone_iterators.cpp:116:11:116:21 | // $ ast,ir | Missing result:ir= |
| standalone_iterators.cpp:117:12:117:22 | // $ ast,ir | Missing result:ir= |
failures