Files
codeql/rust/ql/test/extractor-tests/generated/LoopExpr/LoopExpr.ql
2024-09-16 13:39:55 +02:00

12 lines
322 B
Plaintext
Generated

// generated by codegen, do not edit
import codeql.rust.elements
import TestUtils
from LoopExpr x, Expr getBody, string hasLabel
where
toBeTested(x) and
not x.isUnknown() and
getBody = x.getBody() and
if x.hasLabel() then hasLabel = "yes" else hasLabel = "no"
select x, "getBody:", getBody, "hasLabel:", hasLabel