Skip to content

Commit a831456

Browse files
committed
Swift: make BraceStmt's variable a synth property
1 parent 4a29087 commit a831456

File tree

5 files changed

+4
-21
lines changed

5 files changed

+4
-21
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/Raw.qll

Lines changed: 0 additions & 5 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/stmt/BraceStmt.qll

Lines changed: 1 addition & 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: 0 additions & 7 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
@@ -935,7 +935,7 @@ class StmtCondition(AstNode):
935935
elements: list[ConditionElement] | child
936936

937937
class BraceStmt(Stmt):
938-
variables: list[VarDecl] | child | doc("variable declared in the scope of this brace statement")
938+
variables: list[VarDecl] | synth | child | doc("variable declared in the scope of this brace statement")
939939
elements: list[AstNode] | child
940940

941941
class BreakStmt(Stmt):

0 commit comments

Comments
 (0)