mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
CPP: Tag defect filter queries.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
1
cpp/ql/src/external/tests/DefectFilter.ql
vendored
1
cpp/ql/src/external/tests/DefectFilter.ql
vendored
@@ -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
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
* located in files that are maintained manually.
|
||||
* @kind problem
|
||||
* @id cpp/autogenerated-filter
|
||||
* @tags filter
|
||||
*/
|
||||
|
||||
import cpp
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
* located in files for which we have source code.
|
||||
* @kind problem
|
||||
* @id cpp/from-source-filter
|
||||
* @tags filter
|
||||
*/
|
||||
|
||||
import cpp
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
* the result's location.
|
||||
* @kind problem
|
||||
* @id cpp/macros-filter
|
||||
* @tags filter
|
||||
*/
|
||||
import cpp
|
||||
import external.DefectFilter
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* before the date of the snapshot.
|
||||
* @kind problem
|
||||
* @id cpp/recent-defects-filter
|
||||
* @tags filter
|
||||
* @deprecated
|
||||
*/
|
||||
import cpp
|
||||
|
||||
Reference in New Issue
Block a user