mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
remove magic from inGuard
This commit is contained in:
@@ -324,6 +324,7 @@ class VarRefinementContext extends RefinementContext, TVarRefinementContext {
|
||||
}
|
||||
|
||||
/** Holds if `e` is nested inside a guard node. */
|
||||
pragma[nomagic]
|
||||
private predicate inGuard(Expr e) {
|
||||
e = any(GuardControlFlowNode g).getTest()
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user