mirror of
https://github.com/github/codeql.git
synced 2026-03-01 05:13:41 +01:00
22 lines
704 B
Plaintext
Generated
22 lines
704 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(WhileExpr x) { toBeTested(x) and not x.isUnknown() }
|
|
|
|
query predicate getLabel(WhileExpr x, Label getLabel) {
|
|
toBeTested(x) and not x.isUnknown() and getLabel = x.getLabel()
|
|
}
|
|
|
|
query predicate getLoopBody(WhileExpr x, BlockExpr getLoopBody) {
|
|
toBeTested(x) and not x.isUnknown() and getLoopBody = x.getLoopBody()
|
|
}
|
|
|
|
query predicate getAttr(WhileExpr x, int index, Attr getAttr) {
|
|
toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index)
|
|
}
|
|
|
|
query predicate getCondition(WhileExpr x, Expr getCondition) {
|
|
toBeTested(x) and not x.isUnknown() and getCondition = x.getCondition()
|
|
}
|