mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Move instanceof check from charpred in CfgScope
This commit is contained in:
@@ -9,9 +9,7 @@ private import internal.Splitting
|
||||
private import internal.Completion
|
||||
|
||||
/** An AST node with an associated control-flow graph. */
|
||||
class CfgScope extends Scope {
|
||||
CfgScope() { this instanceof CfgScope::Range_ }
|
||||
|
||||
class CfgScope extends Scope instanceof CfgScope::Range_ {
|
||||
/** Gets the CFG scope that this scope is nested under, if any. */
|
||||
final CfgScope getOuterCfgScope() {
|
||||
exists(AstNode parent |
|
||||
|
||||
Reference in New Issue
Block a user