Skip to content

Commit 8eefa4c

Browse files
committed
deprecate internal predicate that was never used
1 parent bec381a commit 8eefa4c

File tree

1 file changed

+2
-2
lines changed
  • java/ql/lib/semmle/code/java/controlflow

1 file changed

+2
-2
lines changed

java/ql/lib/semmle/code/java/controlflow/Guards.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,12 @@ predicate guardControls_v1(Guard guard, BasicBlock controlled, boolean branch) {
218218
}
219219

220220
/**
221-
* INTERNAL: Use `Guards.controls` instead.
221+
* DEPRECATED: Use `Guards.controls` instead.
222222
*
223223
* Holds if `guard.controls(controlled, branch)`, except this doesn't rely on
224224
* RangeAnalysis.
225225
*/
226-
predicate guardControls_v2(Guard guard, BasicBlock controlled, boolean branch) {
226+
deprecated predicate guardControls_v2(Guard guard, BasicBlock controlled, boolean branch) {
227227
guard.directlyControls(controlled, branch)
228228
or
229229
exists(Guard g, boolean b |

0 commit comments

Comments
 (0)