E.g.
\'@param\' command used in a comment that is not attached to a function declaration
This warning is valid, however, I am compiling 3rd party code a
This solved it for me, surpassing the warnings only in the third party library headers. Just wrap the problematic header #includes
with these pragma
s:
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdocumentation"
#include
#include
#pragma clang diagnostic pop
this is a combination of a hint from Konchog and Vladimir Grigorov’s super helpful answer here.