Skip to content

Commit ddeae09

Browse files
committed
C++: Remove CP.
1 parent 89fc84d commit ddeae09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/experimental/semmle/code/cpp/semantic/SemanticExprSpecific.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ module SemanticExprConfig {
162162
predicate phi(SsaVariable v) { v.asInstruction() instanceof IR::PhiInstruction }
163163

164164
SsaVariable getAPhiInput(SsaVariable v) {
165-
exists(IR::PhiInstruction instr |
165+
exists(IR::PhiInstruction instr | v.asInstruction() = instr |
166166
result.asInstruction() = instr.getAnInput()
167167
or
168168
result.asOperand() = instr.getAnInputOperand()

0 commit comments

Comments
 (0)