Skip to content

Commit caf250c

Browse files
committed
Swift: Update the QLdoc on Callable.
1 parent 02cae30 commit caf250c

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

swift/ql/.generated.list

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/Callable.qll

Lines changed: 2 additions & 0 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: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

swift/schema.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ class ParamDecl(VarDecl):
228228
""")
229229

230230
class Callable(Element):
231-
name: optional[string] | doc("name of this callable")
231+
name: optional[string] | doc("name of this callable") | desc("The name includes any arguments "
232+
"of the callable, for example `myFunction(arg:)`.")
232233
self_param: optional[ParamDecl] | child
233234
params: list[ParamDecl] | child
234235
body: optional["BraceStmt"] | child | desc("The body is absent within protocol declarations.")

0 commit comments

Comments
 (0)