mirror of
https://github.com/github/codeql.git
synced 2026-02-20 00:43:44 +01:00
Merge pull request #74 from github/hvitved/cfg/fix-join-order
CFG: Fix bad join-order
This commit is contained in:
@@ -169,7 +169,7 @@ private AstNode parent(AstNode n) {
|
||||
}
|
||||
|
||||
/** Gets the CFG scope of node `n`. */
|
||||
CfgScope getScope(AstNode n) { result = parent+(n) }
|
||||
CfgScope getScope(AstNode n) { result = unique(CfgScope scope | scope = parent+(n)) }
|
||||
|
||||
abstract private class ControlFlowTree extends AstNode {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user