Kitware / KWStyle

Kitware Style Checker
Other
53 stars 30 forks source link

CheckMissingComments appears to be dependant on CheckWrongComment #81

Open catskul opened 5 years ago

catskul commented 5 years ago

kwsCheckComments.cxx: Parser::CheckComments appears to set m_Comment* inside the if clause only traversed when checkWrongComment is true, and then uses them in the if clause entered when checkMissingComment is true such that it would appear that checkMissingCommentc will not work correctly withoutcheckWrongComment` enabled.