Skip to content

Commit

Permalink
C++: Fix iterator return types and accept test changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasVP committed Apr 26, 2024
1 parent 0c8bd89 commit 800c9c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ class insert_iterator_by_trait {
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<>
Expand Down
3 changes: 0 additions & 3 deletions cpp/ql/test/library-tests/dataflow/taint-tests/taint.expected
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 800c9c2

Please sign in to comment.