mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
15 lines
419 B
Plaintext
Generated
15 lines
419 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(AsmConst x, string isConst__label, string isConst) {
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
isConst__label = "isConst:" and
|
|
if x.isConst() then isConst = "yes" else isConst = "no"
|
|
}
|
|
|
|
query predicate getExpr(AsmConst x, Expr getExpr) {
|
|
toBeTested(x) and not x.isUnknown() and getExpr = x.getExpr()
|
|
}
|