When documenting functions, it can often happen that the documentation does not match the function signature:
/**
* Function documentation.
*
* :param p1: Documentation of p1
* :param int p22: Documenation of p2 - oops
* :return: Return value documentation
* :See also: :c:func:`i_dont_exist`
*/
int foo(int p1, int p2);
It would be nice if Hawkmoth would (on demand)
- ensure consistency and throw a warning in case of a mismatch.
- warn on undocumented parameters and return value
- warn or throw an error when linking to a non-existing symbol (probably not Hawkmoth's business)
I know that some people prefer not to use these directives at all. Thus it would be nice to have that configurable.