mirror of
https://github.com/github/codeql.git
synced 2026-05-24 16:17:07 +02:00
Merge pull request #21879 from owen-mc/shared/cfg/simpleleafnode
Shared CFG: update `simpleLeafNode` to exclude those with additional leaf nodes
This commit is contained in:
@@ -640,6 +640,7 @@ module Make0<LocationSig Location, AstSig<Location> Ast> {
|
||||
Input1::cfgCachedStageRef() and
|
||||
not exists(getChild(n, _)) and
|
||||
not postOrInOrder(n) and
|
||||
not additionalNode(n, _, _) and
|
||||
not inConditionalContext(n, _)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user