mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
un-deprecate guardControls_v2
This commit is contained in:
@@ -218,12 +218,12 @@ predicate guardControls_v1(Guard guard, BasicBlock controlled, boolean branch) {
|
||||
}
|
||||
|
||||
/**
|
||||
* DEPRECATED: Use `Guards.controls` instead.
|
||||
* INTERNAL: Use `Guards.controls` instead.
|
||||
*
|
||||
* Holds if `guard.controls(controlled, branch)`, except this doesn't rely on
|
||||
* RangeAnalysis.
|
||||
*/
|
||||
deprecated predicate guardControls_v2(Guard guard, BasicBlock controlled, boolean branch) {
|
||||
predicate guardControls_v2(Guard guard, BasicBlock controlled, boolean branch) {
|
||||
guard.directlyControls(controlled, branch)
|
||||
or
|
||||
exists(Guard g, boolean b |
|
||||
|
||||
Reference in New Issue
Block a user