mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
autoformat
This commit is contained in:
@@ -30,8 +30,8 @@ predicate deadStoreOfLocal(VarDef vd, PurelyLocalVariable v) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if there exists another definition of the variable `v` that dominates `dead`.
|
||||
*/
|
||||
* Holds if there exists another definition of the variable `v` that dominates `dead`.
|
||||
*/
|
||||
predicate hasDominatingDef(VarDef dead, PurelyLocalVariable v) {
|
||||
exists(VarDef otherDef | not otherDef = dead and otherDef.getAVariable() = v |
|
||||
dead.getBasicBlock().getASuccessor+() = otherDef.getBasicBlock()
|
||||
|
||||
Reference in New Issue
Block a user