Skip to content

Commit 6b94cdb

Browse files
authored
Merge pull request #10047 from jketema/fix-ir-comment
C++: Fix block assignment evaluation order comment in IR translation
2 parents 774e379 + 6c4685e commit 6b94cdb

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)