mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Shared: Only make unlifted models in case the API itself is relevant.
This commit is contained in:
@@ -848,7 +848,11 @@ module MakeModelGenerator<
|
||||
input = parameterNodeAsContentInput(p) + printReadAccessPath(reads) and
|
||||
output = getContentOutput(returnNodeExt) + printStoreAccessPath(stores) and
|
||||
input != output and
|
||||
(if mentionsField(reads) or mentionsField(stores) then lift = false else lift = true)
|
||||
(
|
||||
if mentionsField(reads) or mentionsField(stores)
|
||||
then lift = false and api.isRelevant()
|
||||
else lift = true
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user