mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
18 lines
560 B
Plaintext
Generated
18 lines
560 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(LoopExpr x) { toBeTested(x) and not x.isUnknown() }
|
|
|
|
query predicate getLabel(LoopExpr x, Label getLabel) {
|
|
toBeTested(x) and not x.isUnknown() and getLabel = x.getLabel()
|
|
}
|
|
|
|
query predicate getLoopBody(LoopExpr x, BlockExpr getLoopBody) {
|
|
toBeTested(x) and not x.isUnknown() and getLoopBody = x.getLoopBody()
|
|
}
|
|
|
|
query predicate getAttr(LoopExpr x, int index, Attr getAttr) {
|
|
toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index)
|
|
}
|