mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
20 lines
602 B
Plaintext
20 lines
602 B
Plaintext
// generated by {{generator}}, remove this comment if you wish to edit this file
|
|
private import codeql.swift.generated.Raw
|
|
{{#cls}}
|
|
{{#is_db}}
|
|
{{#has_subtracted_ipa_types}}
|
|
private import codeql.swift.generated.PureSynthConstructors
|
|
{{/has_subtracted_ipa_types}}
|
|
{{/is_db}}
|
|
|
|
predicate construct{{name}}({{#params}}{{^first}}, {{/first}}{{type}} {{param}}{{/params}}) {
|
|
{{#is_db}}
|
|
{{#subtracted_ipa_types}}{{^first}} and {{/first}}not construct{{name}}(id){{/subtracted_ipa_types}}
|
|
{{^subtracted_ipa_types}}any(){{/subtracted_ipa_types}}
|
|
{{/is_db}}
|
|
{{^is_db}}
|
|
none()
|
|
{{/is_db}}
|
|
}
|
|
{{/cls}}
|