Skip to content

Commit ab89f13

Browse files
committed
CPP: Tag defect filter queries.
1 parent b791ff8 commit ab89f13

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

cpp/ql/src/external/examples/filters/EditDefectMessage.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* generated by the query that it is filtering. In this
55
* example the string `Filtered query result: ` is
66
* prepended to the message.
7+
* @tags filter
78
*/
89
import cpp
910
import external.DefectFilter

cpp/ql/src/external/examples/filters/ExcludeGeneratedCode.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* they meet certain criteria. In this example, results are
55
* only returned if they do not come from a file which
66
* contains 'generated' anywhere in its path.
7+
* @tags filter
78
*/
89
import cpp
910
import external.DefectFilter

cpp/ql/src/external/tests/DefectFilter.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/**
22
* @name Defect filter
33
* @description Only include results in large files (200) lines of code, and change the message.
4+
* @tags filter
45
*/
56
import cpp
67
import external.DefectFilter

cpp/ql/src/filters/FilterAutogenerated.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* located in files that are maintained manually.
55
* @kind problem
66
* @id cpp/autogenerated-filter
7+
* @tags filter
78
*/
89

910
import cpp

cpp/ql/src/filters/FromSource.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* located in files for which we have source code.
66
* @kind problem
77
* @id cpp/from-source-filter
8+
* @tags filter
89
*/
910

1011
import cpp

cpp/ql/src/filters/Macros.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* the result's location.
66
* @kind problem
77
* @id cpp/macros-filter
8+
* @tags filter
89
*/
910
import cpp
1011
import external.DefectFilter

cpp/ql/src/filters/RecentDefects.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* before the date of the snapshot.
77
* @kind problem
88
* @id cpp/recent-defects-filter
9+
* @tags filter
910
* @deprecated
1011
*/
1112
import cpp

0 commit comments

Comments
 (0)