mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
13 lines
493 B
Plaintext
Generated
13 lines
493 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
from LoopExpr x, string hasLabel, string hasLoopBody, int getNumberOfAttrs
|
|
where
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
(if x.hasLabel() then hasLabel = "yes" else hasLabel = "no") and
|
|
(if x.hasLoopBody() then hasLoopBody = "yes" else hasLoopBody = "no") and
|
|
getNumberOfAttrs = x.getNumberOfAttrs()
|
|
select x, "hasLabel:", hasLabel, "hasLoopBody:", hasLoopBody, "getNumberOfAttrs:", getNumberOfAttrs
|