Skip to content

Swift: Add change note

2a8e3be
Select commit
Loading
Failed to load commit list.
Merged

Swift: Support AST elements new in Swift 6.2 #20732

Swift: Add change note
2a8e3be
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Oct 31, 2025 in 7s

5 configurations not found

Warning: Code scanning may not have found all the alerts introduced by this pull request, because 5 configurations present on refs/heads/main were not found:

Actions workflow (rust-analysis.yml)

  • ❓  .github/workflows/rust-analysis.yml:analyze/language:rust

Actions workflow (csv-coverage-metrics.yml)

  • ❓  .github/workflows/csv-coverage-metrics.yml:publish-csharp
  • ❓  .github/workflows/csv-coverage-metrics.yml:publish-java

Actions workflow (codeql-analysis.yml)

  • ❓  .github/workflows/codeql-analysis.yml:CodeQL-Build/language:actions
  • ❓  .github/workflows/codeql-analysis.yml:CodeQL-Build/language:csharp

New alerts in code changed by this pull request

  • 4 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 31 in swift/ql/lib/codeql/swift/elements.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

Redundant import, the module is already imported inside
codeql.swift.elements.decl.CapturedDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.decl.EnumCaseDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.decl.ExtensionDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.decl.IfConfigDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.decl.ImportDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.decl.MissingMemberDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.decl.OperatorDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.decl.PatternBindingDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.decl.PoundDiagnosticDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.decl.PrecedenceGroupDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.decl.TopLevelCodeDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.decl.UsingDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.decl.ValueDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.expr.DeclRefExpr
.
Redundant import, the module is already imported inside
codeql.swift.elements.expr.LookupExpr
.

Check warning on line 129 in swift/ql/lib/codeql/swift/elements.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

Redundant import, the module is already imported inside
codeql.swift.elements.expr.AwaitExpr
.
Redundant import, the module is already imported inside
codeql.swift.elements.expr.BorrowExpr
.
Redundant import, the module is already imported inside
codeql.swift.elements.expr.DotSelfExpr
.
Redundant import, the module is already imported inside
codeql.swift.elements.expr.ParenExpr
.
Redundant import, the module is already imported inside
codeql.swift.elements.expr.UnresolvedMemberChainResultExpr
.
Redundant import, the module is already imported inside
codeql.swift.elements.expr.UnsafeExpr
.

Check warning on line 298 in swift/ql/lib/codeql/swift/elements.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

Redundant import, the module is already imported inside
codeql.swift.elements.type.DictionaryType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.InlineArrayType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.UnarySyntaxSugarType
.

Check warning on line 300 in swift/ql/lib/codeql/swift/elements.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

Redundant import, the module is already imported inside
codeql.swift.elements.KeyPathComponent
.
Redundant import, the module is already imported inside
codeql.swift.elements.decl.NominalTypeDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.decl.SubscriptDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.decl.TypeAliasDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.decl.TypeDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.decl.ValueDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.decl.VarDecl
.
Redundant import, the module is already imported inside
codeql.swift.elements.expr.DeclRefExpr
.
Redundant import, the module is already imported inside
codeql.swift.elements.expr.Expr
.
Redundant import, the module is already imported inside
codeql.swift.elements.pattern.Pattern
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.AnyFunctionType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.AnyGenericType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.AnyMetatypeType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.ArchetypeType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.BoundGenericType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.BuiltinFixedArrayType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.BuiltinType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.DependentMemberType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.DictionaryType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.DynamicSelfType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.ErrorType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.ExistentialType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.InOutType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.InlineArrayType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.IntegerType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.LValueType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.ModuleType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.PackElementType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.PackExpansionType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.PackType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.ParameterizedProtocolType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.ParenType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.ProtocolCompositionType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.ReferenceStorageType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.SubstitutableType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.SugarType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.TupleType
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.TypeRepr
.
Redundant import, the module is already imported inside
codeql.swift.elements.type.UnarySyntaxSugarType
.
Redundant import, the module is already imp