Skip to content

Commit b6faa20

Browse files
committed
C++: Remove redundant cast.
1 parent 93bd380 commit b6faa20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/lib/semmle/code/cpp/ir/implementation/aliased_ssa/gvn/internal/ValueNumberingInternal.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ private predicate inheritanceConversionValueNumber(
200200
instr.getEnclosingIRFunction() = irFunc and
201201
instr.getOpcode() = opcode and
202202
tvalueNumber(instr.getUnary()) = operand and
203-
unique( | | instr.(InheritanceConversionInstruction).getBaseClass()) = baseClass and
204-
unique( | | instr.(InheritanceConversionInstruction).getDerivedClass()) = derivedClass
203+
unique( | | instr.getBaseClass()) = baseClass and
204+
unique( | | instr.getDerivedClass()) = derivedClass
205205
}
206206

207207
private predicate loadTotalOverlapValueNumber(

0 commit comments

Comments
 (0)