mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
This collapses all generated test QL sources into a single one per directory, using query predicates to run the different tests. This should improve the time required to run generated tests.
15 lines
383 B
Plaintext
Generated
15 lines
383 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(
|
|
Comment x, string getParent__label, AstNode getParent, string getText__label, string getText
|
|
) {
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
getParent__label = "getParent:" and
|
|
getParent = x.getParent() and
|
|
getText__label = "getText:" and
|
|
getText = x.getText()
|
|
}
|