Skip to content

Commit b514bd8

Browse files
authored
Merge pull request github#14796 from github/alexdenisov/macros
Swift: extract `MacroDecl`
2 parents a8fcfd1 + 0d0152f commit b514bd8

Some content is hidden

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

49 files changed

+11717
-16
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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 = "Macro declarations removed during database downgrade. Please update your CodeQL code." and
9+
property = "" and
10+
macro_decls(e, _)
11+
}

0 commit comments

Comments
 (0)