File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
cpp/ql/src/semmle/code/cpp/ir/implementation Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ module InstructionSanity {
6363 * Holds if instruction `instr` has multiple operands with tag `tag`.
6464 */
6565 query predicate duplicateOperand ( Instruction instr , OperandTag tag ) {
66- count ( instr .getOperand ( tag ) ) > 1 and
66+ strictcount ( instr .getOperand ( tag ) ) > 1 and
6767 not tag instanceof UnmodeledUseOperand
6868 }
6969
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ module InstructionSanity {
6363 * Holds if instruction `instr` has multiple operands with tag `tag`.
6464 */
6565 query predicate duplicateOperand ( Instruction instr , OperandTag tag ) {
66- count ( instr .getOperand ( tag ) ) > 1 and
66+ strictcount ( instr .getOperand ( tag ) ) > 1 and
6767 not tag instanceof UnmodeledUseOperand
6868 }
6969
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ module InstructionSanity {
6363 * Holds if instruction `instr` has multiple operands with tag `tag`.
6464 */
6565 query predicate duplicateOperand ( Instruction instr , OperandTag tag ) {
66- count ( instr .getOperand ( tag ) ) > 1 and
66+ strictcount ( instr .getOperand ( tag ) ) > 1 and
6767 not tag instanceof UnmodeledUseOperand
6868 }
6969
You can’t perform that action at this time.
0 commit comments