mirror of
https://github.com/github/codeql.git
synced 2025-12-22 03:36:30 +01:00
deprecate unused predicate inside the essa module
This commit is contained in:
@@ -78,7 +78,9 @@ module SsaSource {
|
||||
|
||||
/** Holds if `v` is defined by a `for` statement, the definition being `defn` */
|
||||
cached
|
||||
predicate iteration_defined_variable(Variable v, ControlFlowNode defn, ControlFlowNode sequence) {
|
||||
deprecated predicate iteration_defined_variable(
|
||||
Variable v, ControlFlowNode defn, ControlFlowNode sequence
|
||||
) {
|
||||
exists(ForNode for | for.iterates(defn, sequence)) and
|
||||
defn.(NameNode).defines(v)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user