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