Currently as far as I know, you can ask cppcheck to display in the warning message the file/line trace that called it.
I'd like to have also the function name, but more importantly - the template variable assignment (and auto types resolutions) that caused the errors, both for the templates of a function and struct/class.
Alternatively, do you know how to deduce which template instantiation had caused a particular warning?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
it sounds good to clarify the output. could you give us some more details. which warning message do you see?
maybe you can write some example code that resemble your code somewhat so we get an idea what we need to tweak.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Currently as far as I know, you can ask cppcheck to display in the warning message the file/line trace that called it.
I'd like to have also the function name, but more importantly - the template variable assignment (and
auto
types resolutions) that caused the errors, both for the templates of a function and struct/class.Alternatively, do you know how to deduce which template instantiation had caused a particular warning?
it sounds good to clarify the output. could you give us some more details. which warning message do you see?
maybe you can write some example code that resemble your code somewhat so we get an idea what we need to tweak.