- Enable
-Wdocumentation
(clang) if available.-Wdocumentation
emit warnings about incorrect use of documentation comments. Fix broken Doxygen comments.
Example warnings:
0./policy/fees.h:25:6: warning: '@class' command should not be used in a comment attached to a non-class declaration [-Wdocumentation]
1qt/rpcconsole.cpp:147:18: warning: parameter 'result' not found in the function declaration [-Wdocumentation]
2./qt/bitcoingui.h:205:17: warning: parameter 'status' not found in the function declaration [-Wdocumentation]
3./wallet/wallet.h:992:38: warning: not a Doxygen trailing comment [-Wdocumentation]