Skip to content

Commit ba098c3

Browse files
committed
Swift: make kind and macro_syntax in MacroRole internal
1 parent 6045f59 commit ba098c3

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Diff for: swift/ql/.generated.list

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: swift/ql/lib/codeql/swift/generated/MacroRole.qll

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: swift/schema.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1367,8 +1367,8 @@ class MacroRole(AstNode):
13671367
"""
13681368
The role of a macro, for example #freestanding(declaration) or @attached(member).
13691369
"""
1370-
kind: int | doc("kind of this macro role (declaration, expression, member, etc.)")
1371-
macro_syntax: int | doc("#freestanding or @attached")
1370+
kind: int | doc("kind of this macro role (declaration, expression, member, etc.)") | ql.internal
1371+
macro_syntax: int | doc("#freestanding or @attached") | ql.internal
13721372
conformances: list[TypeExpr] | doc("conformances of this macro role")
13731373
names: list[string] | doc("names of this macro role")
13741374

0 commit comments

Comments
 (0)