Skip to content

Commit 62953cb

Browse files
rdmarsh2geoffw0
andauthored
Swift: document "ArrayElement" case in MaD
Co-authored-by: Geoffrey White <[email protected]>
1 parent 6ad78eb commit 62953cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

swift/ql/lib/codeql/swift/dataflow/ExternalFlow.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ predicate parseContent(AccessPathToken component, Content content) {
497497
or
498498
parseEnum(component, content)
499499
or
500+
// map legacy "ArrayElement" specification components to `CollectionContent`
500501
component.getName() = "ArrayElement" and
501502
content instanceof Content::CollectionContent
502503
or

0 commit comments

Comments
 (0)