I've been setting up a custom library configuration for matching certain (C/C++) keywords.
I followed the reference guide, as available here: https://cppcheck.sourceforge.io/reference-cfg-format.pdf
However, although the <function> tags were explained, I could not find anything about the <warn ...> tag.
I've been setting up a custom library configuration for matching certain (C/C++) keywords.
I followed the reference guide, as available here: https://cppcheck.sourceforge.io/reference-cfg-format.pdf
However, although the
<function>
tags were explained, I could not find anything about the<warn ...>
tag.I did manage to locate information in this SO post:
https://stackoverflow.com/questions/53295937/how-to-configure-cppcheck-to-discourage-usage-of-a-function/53297696
...and that achieved exactly what I needed.
Is this undocumented for a reason?