mirror of
https://github.com/github/codeql.git
synced 2026-02-19 16:33:40 +01:00
14 lines
495 B
Plaintext
Generated
14 lines
495 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
from BlockExpr x, int getNumberOfStatements, string hasTail, string hasLabel
|
|
where
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
getNumberOfStatements = x.getNumberOfStatements() and
|
|
(if x.hasTail() then hasTail = "yes" else hasTail = "no") and
|
|
if x.hasLabel() then hasLabel = "yes" else hasLabel = "no"
|
|
select x, "getNumberOfStatements:", getNumberOfStatements, "hasTail:", hasTail, "hasLabel:",
|
|
hasLabel
|