Skip to content

Commit 6e7256f

Browse files
committed
C++: Delete unused predicates.
1 parent bb85aa2 commit 6e7256f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cpp/ql/lib/semmle/code/cpp/controlflow/IRGuards.qll

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,7 @@ private class ScrutineeValueNumber extends ValueNumber {
118118
/** Gets an expression that belongs to this value number. */
119119
Operand getExpressionOperand() { result = switch.getExpressionOperand() }
120120

121-
IRType getResultIRType() { result = switch.getExpression().getResultIRType() }
122-
123121
Instruction getSuccessor(CaseEdge kind) { result = switch.getSuccessor(kind) }
124-
125-
predicate isGLValue() { switch.getExpression().isGLValue() } // Is this ever true?
126122
}
127123

128124
/**

0 commit comments

Comments
 (0)