mirror of
https://github.com/github/codeql.git
synced 2026-02-23 10:23:41 +01:00
14 lines
505 B
Plaintext
Generated
14 lines
505 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
from CallExpr x, string hasArgList, int getNumberOfAttrs, string hasFunction
|
|
where
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
(if x.hasArgList() then hasArgList = "yes" else hasArgList = "no") and
|
|
getNumberOfAttrs = x.getNumberOfAttrs() and
|
|
if x.hasFunction() then hasFunction = "yes" else hasFunction = "no"
|
|
select x, "hasArgList:", hasArgList, "getNumberOfAttrs:", getNumberOfAttrs, "hasFunction:",
|
|
hasFunction
|