mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
16 lines
640 B
Plaintext
Generated
16 lines
640 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
from RefExpr x, int getNumberOfAttrs, string hasExpr, string isConst, string isMut, string isRaw
|
|
where
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
getNumberOfAttrs = x.getNumberOfAttrs() and
|
|
(if x.hasExpr() then hasExpr = "yes" else hasExpr = "no") and
|
|
(if x.isConst() then isConst = "yes" else isConst = "no") and
|
|
(if x.isMut() then isMut = "yes" else isMut = "no") and
|
|
if x.isRaw() then isRaw = "yes" else isRaw = "no"
|
|
select x, "getNumberOfAttrs:", getNumberOfAttrs, "hasExpr:", hasExpr, "isConst:", isConst, "isMut:",
|
|
isMut, "isRaw:", isRaw
|