nsiqcppstyle icon indicating copy to clipboard operation
nsiqcppstyle copied to clipboard

Doxygen "Qt style" /*! is considered as a violation

Open BukDem opened this issue 4 years ago • 1 comments

Hi all,

we use Doxygen with the following syntax :

/*!
 * \fn          
 * \param   
 * \brief      
 */

But it is considered as violation by RULE_5_3_A ... Though it is a proper way to use Doxygen : https://www.doxygen.nl/manual/docblocks.html

Is it a big deal to fix?

Thanks a lot.

BukDem avatar Feb 04 '21 17:02 BukDem

Comments are tokenized here: https://github.com/kunaltyagi/nsiqcppstyle/blob/36f852f4f43f5cb11902538e7dee77614d895d43/nsiqcppstyle_checker.py#L302-L322

Adding a similar tokenizer for Qt comments (and a bit of machinery) plus tests should be able to resolve the issue. Looking forwards to the PR

kunaltyagi avatar Feb 16 '21 07:02 kunaltyagi