Hi,
While using CPPCheck v 2.6 I have discovered that the error type constParameter
that is generated during a run:
<errorcwe="398"file0="..."id="constParameter"msg="Parameter '_a' can be declared with const"severity="style"verbose="Parameter '_a' can be declared with const"><locationcolumn="77"file="..."info="Parameter '_a' can be declared with const"line="94"/></error>
Is not listed in cppcheck's errorlist, i.e.
$>cppcheck--errorlist|grepconstParam$>
I use the errorlist to categorise all the types into our own severity levels, so it is inconvenient that it is not complete.
Could this be rectified please?
Last edit: david ingamells 2022-02-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
While using CPPCheck v 2.6 I have discovered that the error type constParameter
that is generated during a run:
Is not listed in cppcheck's errorlist, i.e.
I use the errorlist to categorise all the types into our own severity levels, so it is inconvenient that it is not complete.
Could this be rectified please?
Last edit: david ingamells 2022-02-10
ok solved with https://github.com/danmar/cppcheck/commit/d5ef25e47777da771ff4803bccf4c81958c42650