Skip to content

Commit 2d9295a

Browse files
committed
Swift: [generated] library code changes
1 parent 90ad36e commit 2d9295a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+780
-873
lines changed

swift/ql/.generated.list

Lines changed: 63 additions & 63 deletions
Large diffs are not rendered by default.

swift/ql/lib/codeql/swift/elements.qll

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,30 @@ import codeql.swift.elements.PlatformVersionAvailabilitySpec
1818
import codeql.swift.elements.UnknownFile
1919
import codeql.swift.elements.UnknownLocation
2020
import codeql.swift.elements.UnspecifiedElement
21-
import codeql.swift.elements.decl.AbstractFunctionDecl
2221
import codeql.swift.elements.decl.AbstractStorageDecl
2322
import codeql.swift.elements.decl.AbstractTypeParamDecl
24-
import codeql.swift.elements.decl.AccessorDecl
23+
import codeql.swift.elements.decl.Accessor
2524
import codeql.swift.elements.decl.AssociatedTypeDecl
2625
import codeql.swift.elements.decl.CapturedDecl
2726
import codeql.swift.elements.decl.ClassDecl
28-
import codeql.swift.elements.decl.ConcreteFuncDecl
2927
import codeql.swift.elements.decl.ConcreteVarDecl
30-
import codeql.swift.elements.decl.ConstructorDecl
3128
import codeql.swift.elements.decl.Decl
32-
import codeql.swift.elements.decl.DestructorDecl
29+
import codeql.swift.elements.decl.Deinitializer
3330
import codeql.swift.elements.decl.EnumCaseDecl
3431
import codeql.swift.elements.decl.EnumDecl
3532
import codeql.swift.elements.decl.EnumElementDecl
3633
import codeql.swift.elements.decl.ExtensionDecl
37-
import codeql.swift.elements.decl.FuncDecl
34+
import codeql.swift.elements.decl.Function
3835
import codeql.swift.elements.decl.GenericContext
3936
import codeql.swift.elements.decl.GenericTypeDecl
4037
import codeql.swift.elements.decl.GenericTypeParamDecl
4138
import codeql.swift.elements.decl.IfConfigDecl
4239
import codeql.swift.elements.decl.ImportDecl
4340
import codeql.swift.elements.decl.InfixOperatorDecl
41+
import codeql.swift.elements.decl.Initializer
4442
import codeql.swift.elements.decl.MissingMemberDecl
4543
import codeql.swift.elements.decl.ModuleDecl
44+
import codeql.swift.elements.decl.NamedFunction
4645
import codeql.swift.elements.decl.NominalTypeDecl
4746
import codeql.swift.elements.decl.OpaqueTypeDecl
4847
import codeql.swift.elements.decl.OperatorDecl
@@ -61,7 +60,6 @@ import codeql.swift.elements.decl.TypeDecl
6160
import codeql.swift.elements.decl.ValueDecl
6261
import codeql.swift.elements.decl.VarDecl
6362
import codeql.swift.elements.expr.AbiSafeConversionExpr
64-
import codeql.swift.elements.expr.AbstractClosureExpr
6563
import codeql.swift.elements.expr.AnyHashableErasureExpr
6664
import codeql.swift.elements.expr.AnyTryExpr
6765
import codeql.swift.elements.expr.AppliedPropertyWrapperExpr
@@ -89,7 +87,6 @@ import codeql.swift.elements.expr.CollectionExpr
8987
import codeql.swift.elements.expr.CollectionUpcastConversionExpr
9088
import codeql.swift.elements.expr.ConditionalBridgeFromObjCExpr
9189
import codeql.swift.elements.expr.ConditionalCheckedCastExpr
92-
import codeql.swift.elements.expr.ConstructorRefCallExpr
9390
import codeql.swift.elements.expr.CovariantFunctionConversionExpr
9491
import codeql.swift.elements.expr.CovariantReturnConversionExpr
9592
import codeql.swift.elements.expr.DeclRefExpr
@@ -102,7 +99,6 @@ import codeql.swift.elements.expr.DifferentiableFunctionExtractOriginalExpr
10299
import codeql.swift.elements.expr.DiscardAssignmentExpr
103100
import codeql.swift.elements.expr.DotSelfExpr
104101
import codeql.swift.elements.expr.DotSyntaxBaseIgnoredExpr
105-
import codeql.swift.elements.expr.DotSyntaxCallExpr
106102
import codeql.swift.elements.expr.DynamicLookupExpr
107103
import codeql.swift.elements.expr.DynamicMemberRefExpr
108104
import codeql.swift.elements.expr.DynamicSubscriptExpr
@@ -112,6 +108,7 @@ import codeql.swift.elements.expr.ErasureExpr
112108
import codeql.swift.elements.expr.ErrorExpr
113109
import codeql.swift.elements.expr.ExistentialMetatypeToObjectExpr
114110
import codeql.swift.elements.expr.ExplicitCastExpr
111+
import codeql.swift.elements.expr.ExplicitClosureExpr
115112
import codeql.swift.elements.expr.Expr
116113
import codeql.swift.elements.expr.FloatLiteralExpr
117114
import codeql.swift.elements.expr.ForceTryExpr
@@ -131,7 +128,7 @@ import codeql.swift.elements.expr.IsExpr
131128
import codeql.swift.elements.expr.KeyPathApplicationExpr
132129
import codeql.swift.elements.expr.KeyPathDotExpr
133130
import codeql.swift.elements.expr.KeyPathExpr
134-
import codeql.swift.elements.expr.LazyInitializerExpr
131+
import codeql.swift.elements.expr.LazyInitializationExpr
135132
import codeql.swift.elements.expr.LinearFunctionExpr
136133
import codeql.swift.elements.expr.LinearFunctionExtractOriginalExpr
137134
import codeql.swift.elements.expr.LinearToDifferentiableFunctionExpr
@@ -152,15 +149,15 @@ import codeql.swift.elements.expr.OpaqueValueExpr
152149
import codeql.swift.elements.expr.OpenExistentialExpr
153150
import codeql.swift.elements.expr.OptionalEvaluationExpr
154151
import codeql.swift.elements.expr.OptionalTryExpr
155-
import codeql.swift.elements.expr.OtherConstructorDeclRefExpr
152+
import codeql.swift.elements.expr.OtherInitializerRefExpr
156153
import codeql.swift.elements.expr.OverloadedDeclRefExpr
157154
import codeql.swift.elements.expr.ParenExpr
158155
import codeql.swift.elements.expr.PointerToPointerExpr
159156
import codeql.swift.elements.expr.PostfixUnaryExpr
160157
import codeql.swift.elements.expr.PrefixUnaryExpr
161158
import codeql.swift.elements.expr.PropertyWrapperValuePlaceholderExpr
162159
import codeql.swift.elements.expr.ProtocolMetatypeToObjectExpr
163-
import codeql.swift.elements.expr.RebindSelfInConstructorExpr
160+
import codeql.swift.elements.expr.RebindSelfInInitializerExpr
164161
import codeql.swift.elements.expr.RegexLiteralExpr
165162
import codeql.swift.elements.expr.SequenceExpr
166163
import codeql.swift.elements.expr.StringLiteralExpr

swift/ql/lib/codeql/swift/elements/decl/AbstractFunctionDecl.qll

Lines changed: 0 additions & 16 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
22
private import codeql.swift.generated.Raw
33

4-
predicate constructClosureExpr(Raw::ClosureExpr id) { any() }
4+
predicate constructAccessor(Raw::Accessor id) { any() }

swift/ql/lib/codeql/swift/elements/decl/AccessorDecl.qll

Lines changed: 0 additions & 40 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
2+
private import codeql.swift.generated.decl.AccessorOrNamedFunction
3+
4+
class AccessorOrNamedFunction extends Generated::AccessorOrNamedFunction { }

swift/ql/lib/codeql/swift/elements/decl/ConcreteFuncDecl.qll

Lines changed: 0 additions & 4 deletions
This file was deleted.

swift/ql/lib/codeql/swift/elements/decl/ConstructorDecl.qll

Lines changed: 0 additions & 17 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// generated by codegen/codegen.py, remove this comment if you wish to edit this file
22
private import codeql.swift.generated.Raw
33

4-
predicate constructDestructorDecl(Raw::DestructorDecl id) { any() }
4+
predicate constructDeinitializer(Raw::Deinitializer id) { any() }

swift/ql/lib/codeql/swift/elements/decl/DestructorDecl.qll

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)