fix #14117: --no-check-unused-templates does not apply to templated functions with declaration specifiers
May need more work after #7800 and #7803, so I'm leaving it as a draft for now.
Seems a bit convoluted but as I do not understand this kind of processing well I leave it up to others to comment.
Still some notes.
May need more work after #7800 and #7803, so I'm leaving it as a draft for now.
For some additional extended manual testing you could use the invocation added in https://github.com/danmar/simplecpp/pull/438 and adjust it for Cppcheck and compare the output. The standard headers have lots of templates after all.
Quality Gate passed
Issues
3 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
May need more work after #7800 and #7803, so I'm leaving it as a draft for now.
For some additional extended manual testing you could use the invocation added in danmar/simplecpp#438 and adjust it for Cppcheck and compare the output. The standard headers have lots of templates after all.
Thanks, I'll take a look at that
Not in the scope of this PR but I wonder if it would make sense to add a debug message if a function is being omitted from analysis.