mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Inline predicate only used once
This commit is contained in:
@@ -844,13 +844,11 @@ module Public {
|
||||
insn = getAWrittenInsn()
|
||||
}
|
||||
|
||||
predicate hasPostUpdateNode(Node preupd) { insnHasPostUpdateNode(preupd.asInstruction()) }
|
||||
|
||||
private class DefaultPostUpdateNode extends PostUpdateNode {
|
||||
Node preupd;
|
||||
|
||||
DefaultPostUpdateNode() {
|
||||
hasPostUpdateNode(preupd) and
|
||||
insnHasPostUpdateNode(preupd.asInstruction()) and
|
||||
(
|
||||
preupd = this.(SsaNode).getAUse()
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user