Skip to content

Commit 2fa2a5a

Browse files
authored
Merge pull request #15984 from github/alexdenisov/swift-5.10
Swift: upgrade to 5.10
2 parents 5dcd635 + a34bb26 commit 2fa2a5a

Some content is hidden

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

46 files changed

+11646
-100
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
class Element extends @element {
2+
string toString() { none() }
3+
}
4+
5+
query predicate new_unspecified_elements(Element e, string property, string error) {
6+
unspecified_elements(e, property, error)
7+
or
8+
error = "ThenStmt nodes removed during database downgrade. Please update your CodeQL code." and
9+
property = "" and
10+
then_stmts(e, _)
11+
}
12+
13+
query predicate new_unspecified_element_children(Element e, int index, Element child) {
14+
unspecified_element_children(e, index, child)
15+
or
16+
then_stmts(e, child) and index = 0
17+
}

0 commit comments

Comments
 (0)