Skip to content

Commit 4912ee8

Browse files
committed
Swift: Make Callable a sub type of AstNode
1 parent 9250c29 commit 4912ee8

File tree

8 files changed

+115
-114
lines changed

8 files changed

+115
-114
lines changed

swift/ql/.generated.list

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

swift/ql/lib/codeql/swift/elements/Callable.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ private import codeql.swift.generated.Callable
22
private import codeql.swift.elements.AstNode
33
private import codeql.swift.elements.decl.Decl
44

5-
class Callable extends Generated::Callable, AstNode {
5+
class Callable extends Generated::Callable {
66
/**
77
* Holds if this Callable is a function named `funcName`.
88
*/

swift/ql/lib/codeql/swift/generated/Callable.qll

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

swift/ql/lib/codeql/swift/generated/ParentChild.qll

Lines changed: 27 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

swift/ql/lib/codeql/swift/generated/Raw.qll

Lines changed: 34 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

swift/ql/lib/codeql/swift/generated/Synth.qll

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

swift/ql/lib/swift.dbscheme

Lines changed: 39 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

swift/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ class ParamDecl(VarDecl):
242242
has a property wrapper.
243243
""")
244244

245-
class Callable(Element):
245+
class Callable(AstNode):
246246
name: optional[string] | doc("name of this callable") | desc("The name includes argument "
247247
"labels of the callable, for example `myFunction(arg:)`.")
248248
self_param: optional[ParamDecl] | child

0 commit comments

Comments
 (0)