We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dd5180 commit 31424beCopy full SHA for 31424be
clang/lib/AST/Interp/ByteCodeExprGen.cpp
@@ -1624,7 +1624,7 @@ bool ByteCodeExprGen<Emitter>::VisitCompoundAssignOperator(
1624
return false;
1625
if (!this->emitLoad(*LT, E))
1626
1627
- if (*LT != *LHSComputationT) {
+ if (LT != LHSComputationT) {
1628
if (!this->emitCast(*LT, *LHSComputationT, E))
1629
1630
}
@@ -1680,7 +1680,7 @@ bool ByteCodeExprGen<Emitter>::VisitCompoundAssignOperator(
1680
1681
1682
// And now cast from LHSComputationT to ResultT.
1683
- if (*ResultT != *LHSComputationT) {
+ if (ResultT != LHSComputationT) {
1684
if (!this->emitCast(*LHSComputationT, *ResultT, E))
1685
1686
0 commit comments