File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1+ - ` A2-7-3 ` - ` UndocumentedUserDefinedType.ql `
2+ - Fixes #718 . Include trailing characters after group comment endings with ///@{ ... ///@}.
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ private predicate isInFunctionScope(Declaration d) {
2828private string doxygenCommentGroupStrings ( boolean opening ) {
2929 opening = true and result = [ "///@{" , "/**@{*/" ]
3030 or
31- opening = false and result = [ "///@}" , "/**@}*/" ]
31+ opening = false and result = [ "///@}% " , "/**@}*/" ]
3232}
3333
3434pragma [ inline]
Original file line number Diff line number Diff line change @@ -225,4 +225,14 @@ class ClassG2 { // COMPLIANT
225225class ClassG3 { // COMPLIANT
226226public:
227227 friend int foo3 () { return 1 ; } // NON_COMPLIANT
228+ };
229+
230+ // / @brief A Doxygen comment.
231+ class ClassH { // COMPLIANT
232+ public:
233+ // / @brief Group with comment at the end.
234+ // /@{
235+ void m (); // COMPLIANT
236+ void n (); // COMPLIANT
237+ // /@} End of group
228238};
You can’t perform that action at this time.
0 commit comments