C++: Remove redundant cast.

This commit is contained in:
Mathias Vorreiter Pedersen
2022-03-01 11:50:44 +00:00
parent 93bd380838
commit b6faa207a4

View File

@@ -200,8 +200,8 @@ private predicate inheritanceConversionValueNumber(
instr.getEnclosingIRFunction() = irFunc and
instr.getOpcode() = opcode and
tvalueNumber(instr.getUnary()) = operand and
unique( | | instr.(InheritanceConversionInstruction).getBaseClass()) = baseClass and
unique( | | instr.(InheritanceConversionInstruction).getDerivedClass()) = derivedClass
unique( | | instr.getBaseClass()) = baseClass and
unique( | | instr.getDerivedClass()) = derivedClass
}
private predicate loadTotalOverlapValueNumber(