Skip to content

Commit 6c4685e

Browse files
committed
C++: Fix block assignment evaluation order comment in IR translation
1 parent dfde571 commit 6c4685e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedExpr.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ class TranslatedBlockAssignExpr extends TranslatedNonConstantExpr {
15011501
}
15021502

15031503
final override Instruction getFirstInstruction() {
1504-
// The operand evaluation order should since block assignments behave like memcpy.
1504+
// The operand evaluation order should not matter since block assignments behave like memcpy.
15051505
result = this.getLeftOperand().getFirstInstruction()
15061506
}
15071507

0 commit comments

Comments
 (0)