We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f55ace8 commit 60e3feeCopy full SHA for 60e3fee
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/SsaImpl.qll
@@ -1126,7 +1126,11 @@ predicate ssaFlow(Node nodeFrom, Node nodeTo) {
1126
*/
1127
class PhiNode extends Definition instanceof SsaImpl::PhiNode {
1128
/** Gets a definition that is an input to this phi node. */
1129
- final Definition getAnInput() { phiHasInputFromBlock(this, result, _) }
+ final Definition getAnInput() { this.hasInputFromBlock(result, _) }
1130
+
1131
+ final predicate hasInputFromBlock(Definition input, IRBlock bb) {
1132
+ phiHasInputFromBlock(this, input, bb)
1133
+ }
1134
}
1135
1136
/** An static single assignment (SSA) definition. */
0 commit comments