Files
codeql/swift/codegen/templates/ql_ipa_constructor_stub.mustache
2022-08-15 17:00:36 +02:00

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}}