mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
Java: update hasProvenance
This commit is contained in:
@@ -249,7 +249,7 @@ module Public {
|
||||
* Holds if the summary has the given provenance where `true` is
|
||||
* `generated` and `false` is `manual`.
|
||||
*/
|
||||
predicate hasProvenance(boolean generated) { summaryElement(this, _, _, _, generated) }
|
||||
predicate hasProvenance(boolean generated) { none() }
|
||||
}
|
||||
|
||||
/** A callable where there is no flow via the callable. */
|
||||
@@ -1018,6 +1018,10 @@ module Private {
|
||||
}
|
||||
|
||||
override predicate isAutoGenerated() { this.relevantSummaryElementGenerated(_, _, _) }
|
||||
|
||||
override predicate hasProvenance(boolean generated) {
|
||||
summaryElement(this, _, _, _, generated)
|
||||
}
|
||||
}
|
||||
|
||||
/** Holds if component `c` of specification `spec` cannot be parsed. */
|
||||
|
||||
Reference in New Issue
Block a user