Swift: add more doc strings to generated things

This commit is contained in:
Paolo Tranquilli 2023-11-07 16:29:03 +01:00
Родитель c6bc1a3f3a
Коммит 10afa4381a
657 изменённых файлов: 4638 добавлений и 651 удалений

Просмотреть файл

@ -1,4 +1,11 @@
// generated by {{generator}}
/**
* This module provides the generated definition of `{{name}}`.
{{#ql_internal}}
* INTERNAL: Do not use.
{{/ql_internal}}
*/
private import {{import_prefix}}.Synth
private import {{import_prefix}}.Raw
{{#imports}}

Просмотреть файл

@ -1,4 +1,8 @@
// generated by {{generator}}
/**
* This module exports all modules providing `Element` subclasses.
*/
{{#imports}}
import {{.}}
{{/imports}}

Просмотреть файл

@ -1,4 +1,7 @@
// generated by {{generator}}
/**
* This module provides the generated parent/child relationship.
*/
{{#imports}}
import {{.}}

Просмотреть файл

@ -1,4 +1,10 @@
// generated by {{generator}}, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `{{name}}`.
{{#ql_internal}}
* INTERNAL: Do not use.
{{/ql_internal}}
*/
private import {{base_import}}
{{#has_synth_accessors}}
private import {{import_prefix}}.Raw

Просмотреть файл

@ -1,4 +1,9 @@
// generated by {{generator}}, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `{{cls.name}}` synthesized instances.
* INTERNAL: Do not use.
*/
private import {{import_prefix}}.Raw
{{#cls}}
{{#is_db}}
@ -7,6 +12,10 @@ private import {{import_prefix}}.PureSynthConstructors
{{/has_subtracted_synth_types}}
{{/is_db}}
/**
* The characteristic predicate of `{{name}}` synthesized instances.
* INTERNAL: Do not use.
*/
predicate construct{{name}}({{#params}}{{^first}}, {{/first}}{{type}} {{param}}{{/params}}) {
{{#is_db}}
{{#subtracted_synth_types}}{{^first}} and {{/first}}not construct{{name}}(id){{/subtracted_synth_types}}

1302
swift/ql/.generated.list сгенерированный

Разница между файлами не показана из-за своего большого размера Загрузить разницу

4
swift/ql/lib/codeql/swift/elements.qll сгенерированный
Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py
/**
* This module exports all modules providing `Element` subclasses.
*/
import codeql.swift.elements.AstNode
import codeql.swift.elements.AvailabilityInfo
import codeql.swift.elements.AvailabilitySpec

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `AvailabilityInfo` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `AvailabilityInfo` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructAvailabilityInfo(Raw::AvailabilityInfo id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AvailabilitySpec`.
*/
private import codeql.swift.generated.AvailabilitySpec
class AvailabilitySpec extends Generated::AvailabilitySpec { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `Comment` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `Comment` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructComment(Raw::Comment id) { any() }

4
swift/ql/lib/codeql/swift/elements/DbFile.qll сгенерированный
Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `DbFile`.
*/
private import codeql.swift.generated.DbFile
class DbFile extends Generated::DbFile { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `DbFile` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `DbFile` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructDbFile(Raw::DbFile id) { any() }

4
swift/ql/lib/codeql/swift/elements/DbLocation.qll сгенерированный
Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `DbLocation`.
*/
private import codeql.swift.generated.DbLocation
class DbLocation extends Generated::DbLocation { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `DbLocation` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `DbLocation` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructDbLocation(Raw::DbLocation id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `Diagnostics` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `Diagnostics` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructDiagnostics(Raw::Diagnostics id) { any() }

4
swift/ql/lib/codeql/swift/elements/ErrorElement.qll сгенерированный
Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `ErrorElement`.
*/
private import codeql.swift.generated.ErrorElement
class ErrorElement extends Generated::ErrorElement { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `KeyPathComponent` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `KeyPathComponent` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructKeyPathComponent(Raw::KeyPathComponent id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `OtherAvailabilitySpec` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `OtherAvailabilitySpec` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructOtherAvailabilitySpec(Raw::OtherAvailabilitySpec id) { any() }

Просмотреть файл

@ -1,6 +1,16 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `PlatformVersionAvailabilitySpec` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `PlatformVersionAvailabilitySpec` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructPlatformVersionAvailabilitySpec(Raw::PlatformVersionAvailabilitySpec id) {
any()
}

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `UnspecifiedElement` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `UnspecifiedElement` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructUnspecifiedElement(Raw::UnspecifiedElement id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AbstractStorageDecl`.
*/
private import codeql.swift.generated.decl.AbstractStorageDecl
class AbstractStorageDecl extends Generated::AbstractStorageDecl { }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AbstractTypeParamDecl`.
*/
private import codeql.swift.generated.decl.AbstractTypeParamDecl
class AbstractTypeParamDecl extends Generated::AbstractTypeParamDecl { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `Accessor` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `Accessor` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructAccessor(Raw::Accessor id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AccessorOrNamedFunction`.
*/
private import codeql.swift.generated.decl.AccessorOrNamedFunction
class AccessorOrNamedFunction extends Generated::AccessorOrNamedFunction { }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AssociatedTypeDecl`.
*/
private import codeql.swift.generated.decl.AssociatedTypeDecl
class AssociatedTypeDecl extends Generated::AssociatedTypeDecl { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `AssociatedTypeDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `AssociatedTypeDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructAssociatedTypeDecl(Raw::AssociatedTypeDecl id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `CapturedDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `CapturedDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructCapturedDecl(Raw::CapturedDecl id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `ClassDecl`.
*/
private import codeql.swift.generated.decl.ClassDecl
class ClassDecl extends Generated::ClassDecl { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `ClassDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `ClassDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructClassDecl(Raw::ClassDecl id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `ConcreteVarDecl`.
*/
private import codeql.swift.generated.decl.ConcreteVarDecl
class ConcreteVarDecl extends Generated::ConcreteVarDecl { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `ConcreteVarDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `ConcreteVarDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructConcreteVarDecl(Raw::ConcreteVarDecl id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `Deinitializer` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `Deinitializer` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructDeinitializer(Raw::Deinitializer id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `EnumCaseDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `EnumCaseDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructEnumCaseDecl(Raw::EnumCaseDecl id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `EnumDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `EnumDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructEnumDecl(Raw::EnumDecl id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `EnumElementDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `EnumElementDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructEnumElementDecl(Raw::EnumElementDecl id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `ExtensionDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `ExtensionDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructExtensionDecl(Raw::ExtensionDecl id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `GenericContext`.
*/
private import codeql.swift.generated.decl.GenericContext
class GenericContext extends Generated::GenericContext { }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `GenericTypeDecl`.
*/
private import codeql.swift.generated.decl.GenericTypeDecl
class GenericTypeDecl extends Generated::GenericTypeDecl { }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `GenericTypeParamDecl`.
*/
private import codeql.swift.generated.decl.GenericTypeParamDecl
class GenericTypeParamDecl extends Generated::GenericTypeParamDecl { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `GenericTypeParamDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `GenericTypeParamDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructGenericTypeParamDecl(Raw::GenericTypeParamDecl id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `IfConfigDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `IfConfigDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructIfConfigDecl(Raw::IfConfigDecl id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `ImportDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `ImportDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructImportDecl(Raw::ImportDecl id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `InfixOperatorDecl`.
*/
private import codeql.swift.generated.decl.InfixOperatorDecl
class InfixOperatorDecl extends Generated::InfixOperatorDecl { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `InfixOperatorDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `InfixOperatorDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructInfixOperatorDecl(Raw::InfixOperatorDecl id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `Initializer` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `Initializer` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructInitializer(Raw::Initializer id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `MissingMemberDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `MissingMemberDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructMissingMemberDecl(Raw::MissingMemberDecl id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `ModuleDecl`.
*/
private import codeql.swift.generated.decl.ModuleDecl
class ModuleDecl extends Generated::ModuleDecl { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `ModuleDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `ModuleDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructModuleDecl(Raw::ModuleDecl id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `NamedFunction`.
*/
private import codeql.swift.generated.decl.NamedFunction
class NamedFunction extends Generated::NamedFunction { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `NamedFunction` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `NamedFunction` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructNamedFunction(Raw::NamedFunction id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `OpaqueTypeDecl`.
*/
private import codeql.swift.generated.decl.OpaqueTypeDecl
class OpaqueTypeDecl extends Generated::OpaqueTypeDecl { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `OpaqueTypeDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `OpaqueTypeDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructOpaqueTypeDecl(Raw::OpaqueTypeDecl id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `ParamDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `ParamDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructParamDecl(Raw::ParamDecl id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `PatternBindingDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `PatternBindingDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructPatternBindingDecl(Raw::PatternBindingDecl id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `PostfixOperatorDecl`.
*/
private import codeql.swift.generated.decl.PostfixOperatorDecl
class PostfixOperatorDecl extends Generated::PostfixOperatorDecl { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `PostfixOperatorDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `PostfixOperatorDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructPostfixOperatorDecl(Raw::PostfixOperatorDecl id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `PoundDiagnosticDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `PoundDiagnosticDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructPoundDiagnosticDecl(Raw::PoundDiagnosticDecl id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `PrecedenceGroupDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `PrecedenceGroupDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructPrecedenceGroupDecl(Raw::PrecedenceGroupDecl id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `PrefixOperatorDecl`.
*/
private import codeql.swift.generated.decl.PrefixOperatorDecl
class PrefixOperatorDecl extends Generated::PrefixOperatorDecl { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `PrefixOperatorDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `PrefixOperatorDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructPrefixOperatorDecl(Raw::PrefixOperatorDecl id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `ProtocolDecl`.
*/
private import codeql.swift.generated.decl.ProtocolDecl
class ProtocolDecl extends Generated::ProtocolDecl { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `ProtocolDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `ProtocolDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructProtocolDecl(Raw::ProtocolDecl id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `StructDecl`.
*/
private import codeql.swift.generated.decl.StructDecl
class StructDecl extends Generated::StructDecl { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `StructDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `StructDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructStructDecl(Raw::StructDecl id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `SubscriptDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `SubscriptDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructSubscriptDecl(Raw::SubscriptDecl id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `TopLevelCodeDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `TopLevelCodeDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructTopLevelCodeDecl(Raw::TopLevelCodeDecl id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `TypeAliasDecl` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `TypeAliasDecl` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructTypeAliasDecl(Raw::TypeAliasDecl id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AbiSafeConversionExpr`.
*/
private import codeql.swift.generated.expr.AbiSafeConversionExpr
class AbiSafeConversionExpr extends Generated::AbiSafeConversionExpr { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `AbiSafeConversionExpr` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `AbiSafeConversionExpr` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructAbiSafeConversionExpr(Raw::AbiSafeConversionExpr id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AnyHashableErasureExpr`.
*/
private import codeql.swift.generated.expr.AnyHashableErasureExpr
class AnyHashableErasureExpr extends Generated::AnyHashableErasureExpr { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `AnyHashableErasureExpr` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `AnyHashableErasureExpr` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructAnyHashableErasureExpr(Raw::AnyHashableErasureExpr id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AnyTryExpr`.
*/
private import codeql.swift.generated.expr.AnyTryExpr
class AnyTryExpr extends Generated::AnyTryExpr { }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AppliedPropertyWrapperExpr`.
*/
private import codeql.swift.generated.expr.AppliedPropertyWrapperExpr
class AppliedPropertyWrapperExpr extends Generated::AppliedPropertyWrapperExpr { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `AppliedPropertyWrapperExpr` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `AppliedPropertyWrapperExpr` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructAppliedPropertyWrapperExpr(Raw::AppliedPropertyWrapperExpr id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `ArchetypeToSuperExpr`.
*/
private import codeql.swift.generated.expr.ArchetypeToSuperExpr
class ArchetypeToSuperExpr extends Generated::ArchetypeToSuperExpr { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `ArchetypeToSuperExpr` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `ArchetypeToSuperExpr` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructArchetypeToSuperExpr(Raw::ArchetypeToSuperExpr id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `ArrayExpr` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `ArrayExpr` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructArrayExpr(Raw::ArrayExpr id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `ArrayToPointerExpr`.
*/
private import codeql.swift.generated.expr.ArrayToPointerExpr
class ArrayToPointerExpr extends Generated::ArrayToPointerExpr { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `ArrayToPointerExpr` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `ArrayToPointerExpr` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructArrayToPointerExpr(Raw::ArrayToPointerExpr id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `AssignExpr` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `AssignExpr` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructAssignExpr(Raw::AssignExpr id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `AutoClosureExpr` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `AutoClosureExpr` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructAutoClosureExpr(Raw::AutoClosureExpr id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `AwaitExpr` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `AwaitExpr` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructAwaitExpr(Raw::AwaitExpr id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `BinaryExpr` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `BinaryExpr` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructBinaryExpr(Raw::BinaryExpr id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `BindOptionalExpr` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `BindOptionalExpr` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructBindOptionalExpr(Raw::BindOptionalExpr id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `BooleanLiteralExpr` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `BooleanLiteralExpr` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructBooleanLiteralExpr(Raw::BooleanLiteralExpr id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `BridgeFromObjCExpr`.
*/
private import codeql.swift.generated.expr.BridgeFromObjCExpr
class BridgeFromObjCExpr extends Generated::BridgeFromObjCExpr { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `BridgeFromObjCExpr` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `BridgeFromObjCExpr` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructBridgeFromObjCExpr(Raw::BridgeFromObjCExpr id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `BridgeToObjCExpr`.
*/
private import codeql.swift.generated.expr.BridgeToObjCExpr
class BridgeToObjCExpr extends Generated::BridgeToObjCExpr { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `BridgeToObjCExpr` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `BridgeToObjCExpr` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructBridgeToObjCExpr(Raw::BridgeToObjCExpr id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `BuiltinLiteralExpr`.
*/
private import codeql.swift.generated.expr.BuiltinLiteralExpr
class BuiltinLiteralExpr extends Generated::BuiltinLiteralExpr { }

4
swift/ql/lib/codeql/swift/elements/expr/CallExpr.qll сгенерированный
Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `CallExpr`.
*/
private import codeql.swift.generated.expr.CallExpr
class CallExpr extends Generated::CallExpr { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `CallExpr` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `CallExpr` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructCallExpr(Raw::CallExpr id) { any() }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `CaptureListExpr` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `CaptureListExpr` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructCaptureListExpr(Raw::CaptureListExpr id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `CheckedCastExpr`.
*/
private import codeql.swift.generated.expr.CheckedCastExpr
class CheckedCastExpr extends Generated::CheckedCastExpr { }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `ClassMetatypeToObjectExpr`.
*/
private import codeql.swift.generated.expr.ClassMetatypeToObjectExpr
class ClassMetatypeToObjectExpr extends Generated::ClassMetatypeToObjectExpr { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `ClassMetatypeToObjectExpr` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `ClassMetatypeToObjectExpr` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructClassMetatypeToObjectExpr(Raw::ClassMetatypeToObjectExpr id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `CoerceExpr`.
*/
private import codeql.swift.generated.expr.CoerceExpr
class CoerceExpr extends Generated::CoerceExpr { }

Просмотреть файл

@ -1,4 +1,14 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module defines the hook used internally to tweak the characteristic predicate of
* `CoerceExpr` synthesized instances.
* INTERNAL: Do not use.
*/
private import codeql.swift.generated.Raw
/**
* The characteristic predicate of `CoerceExpr` synthesized instances.
* INTERNAL: Do not use.
*/
predicate constructCoerceExpr(Raw::CoerceExpr id) { any() }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `CollectionExpr`.
*/
private import codeql.swift.generated.expr.CollectionExpr
class CollectionExpr extends Generated::CollectionExpr { }

Просмотреть файл

@ -1,4 +1,8 @@
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `CollectionUpcastConversionExpr`.
*/
private import codeql.swift.generated.expr.CollectionUpcastConversionExpr
class CollectionUpcastConversionExpr extends Generated::CollectionUpcastConversionExpr { }

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше