Skip to content

Commit

Permalink
Swlft: fix CFG for SingleValueStmtExpr
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Denisov committed Nov 7, 2023
1 parent dd20a9b commit 12f9e3a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1417,6 +1417,15 @@ module Exprs {
}
}

/** Control-flow for a `SingleValueStmtExpr`. See the QLDoc for `SingleValueStmtExpr` for the semantics of a `SingleValueStmtExpr`. */
private class SingleValueStmtExprTree extends AstStandardPostOrderTree {
override SingleValueStmtExpr ast;

final override ControlFlowElement getChildElement(int i) {
i = 0 and result.asAstNode() = ast.getStmt()
}
}

private class OpaqueValueExprTree extends AstLeafTree {
override OpaqueValueExpr ast;
}
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 12f9e3a

Please sign in to comment.