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) {
28
28
private string doxygenCommentGroupStrings ( boolean opening ) {
29
29
opening = true and result = [ "///@{" , "/**@{*/" ]
30
30
or
31
- opening = false and result = [ "///@}" , "/**@}*/" ]
31
+ opening = false and result = [ "///@}% " , "/**@}*/" ]
32
32
}
33
33
34
34
pragma [ inline]
Original file line number Diff line number Diff line change @@ -225,4 +225,14 @@ class ClassG2 { // COMPLIANT
225
225
class ClassG3 { // COMPLIANT
226
226
public:
227
227
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
228
238
};
You can’t perform that action at this time.
0 commit comments