Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
when using TODO_ASSERT_EQUALS it's a good idea to pair it with a ASSE…
…RT_EQUALS
- Loading branch information
c041071
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we should make TODO_ASSERT_EQUALS take three arguments (value, to_be, as_is)? This would enforce this checking and remove unnecessary lines of code.
c041071
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
c041071
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened ticket. Will work on it.
https://sourceforge.net/apps/trac/cppcheck/ticket/2526