Affected rules
Description
It appears that adding a comment after the closing characters of a member grouping triggers alerts for the methods inside.
Example
/// @brief Member group b.
struct memgrpb {
/// @brief Group with comment at the end.
///@{
void memgrpb_func0();
void memgrpb_func1();
///@} End of group
};
/// @brief Member group d.
struct memgrpd {
/// @brief Group without comment at the end.
///@{
void memgrpd_func0();
void memgrpd_func1();
///@}
};
memgrpb_func1 and memgrpb_func0 are evaluated with missing documentation (in contrast with the functions in memgrpd) on query cpp/autosar/src/rules/A2-7-3/UndocumentedUserDefinedType.ql.
Related to #391.
Affected rules
A2-7-3Description
It appears that adding a comment after the closing characters of a member grouping triggers alerts for the methods inside.
Example
memgrpb_func1andmemgrpb_func0are evaluated with missing documentation (in contrast with the functions inmemgrpd) on querycpp/autosar/src/rules/A2-7-3/UndocumentedUserDefinedType.ql.Related to #391.