mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Address review comment
This commit is contained in:
@@ -2033,10 +2033,7 @@ private ItemNode resolveUseTreeListItemQualifier(
|
||||
|
||||
private UseTree getAUseUseTree(Use use) {
|
||||
exists(UseTree root | root = use.getUseTree() |
|
||||
result = root
|
||||
or
|
||||
not root.hasPath() and
|
||||
result = getAUseTreeUseTree(root)
|
||||
if root.hasPath() then result = root else result = getAUseTreeUseTree(root)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user