mirror of
https://github.com/github/codeql.git
synced 2026-02-19 16:33:40 +01:00
Remove fromGeneratedInclSynth predicate
This commit is contained in:
@@ -392,8 +392,6 @@ import Cached
|
||||
|
||||
TAstNode fromGenerated(Generated::AstNode n) { n = toGenerated(result) }
|
||||
|
||||
TAstNode fromGeneratedInclSynth(Generated::AstNode n) { n = toGeneratedInclSynth(result) }
|
||||
|
||||
class TCall = TMethodCall or TYieldCall;
|
||||
|
||||
class TMethodCall =
|
||||
|
||||
@@ -1318,8 +1318,7 @@ private module Cached {
|
||||
/** Gets the CFG scope of node `n`. */
|
||||
cached
|
||||
CfgScope getCfgScopeImpl(AstNode n) {
|
||||
result =
|
||||
parent*(ASTInternal::fromGeneratedInclSynth(scopeOf(ASTInternal::toGeneratedInclSynth(n))))
|
||||
result = parent*(ASTInternal::fromGenerated(scopeOf(ASTInternal::toGeneratedInclSynth(n))))
|
||||
}
|
||||
|
||||
private predicate isAbnormalExitType(SuccessorType t) {
|
||||
|
||||
Reference in New Issue
Block a user