CPP: Tag defect filter queries.

This commit is contained in:
Geoffrey White
2018-12-04 16:41:36 +00:00
parent b791ff8c28
commit ab89f1307d
7 changed files with 7 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
* generated by the query that it is filtering. In this
* example the string `Filtered query result: ` is
* prepended to the message.
* @tags filter
*/
import cpp
import external.DefectFilter

View File

@@ -4,6 +4,7 @@
* they meet certain criteria. In this example, results are
* only returned if they do not come from a file which
* contains 'generated' anywhere in its path.
* @tags filter
*/
import cpp
import external.DefectFilter

View File

@@ -1,6 +1,7 @@
/**
* @name Defect filter
* @description Only include results in large files (200) lines of code, and change the message.
* @tags filter
*/
import cpp
import external.DefectFilter

View File

@@ -4,6 +4,7 @@
* located in files that are maintained manually.
* @kind problem
* @id cpp/autogenerated-filter
* @tags filter
*/
import cpp

View File

@@ -5,6 +5,7 @@
* located in files for which we have source code.
* @kind problem
* @id cpp/from-source-filter
* @tags filter
*/
import cpp

View File

@@ -5,6 +5,7 @@
* the result's location.
* @kind problem
* @id cpp/macros-filter
* @tags filter
*/
import cpp
import external.DefectFilter

View File

@@ -6,6 +6,7 @@
* before the date of the snapshot.
* @kind problem
* @id cpp/recent-defects-filter
* @tags filter
* @deprecated
*/
import cpp