mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
13 lines
381 B
Plaintext
Generated
13 lines
381 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
from MatchArm x, Pat getPat, string hasGuard, Expr getExpr
|
|
where
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
getPat = x.getPat() and
|
|
(if x.hasGuard() then hasGuard = "yes" else hasGuard = "no") and
|
|
getExpr = x.getExpr()
|
|
select x, "getPat:", getPat, "hasGuard:", hasGuard, "getExpr:", getExpr
|