Skip to content

Commit 9c9ed13

Browse files
committed
C++: More comments.
1 parent 1ae22d0 commit 9c9ed13

File tree

1 file changed

+2
-0
lines changed
  • cpp/ql/lib/semmle/code/cpp/models/implementations

1 file changed

+2
-0
lines changed

cpp/ql/lib/semmle/code/cpp/models/implementations/Iterator.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,8 @@ private class IteratorAssignmentMemberOperatorModel extends IteratorAssignmentMe
573573
override predicate hasOnlySpecificWriteSideEffects() { any() }
574574

575575
override predicate hasSpecificWriteSideEffect(ParameterIndex i, boolean buffer, boolean mustWrite) {
576+
// See the comment on `IteratorCrementMemberOperatorModel::hasSpecificWriteSideEffect`
577+
// for an explanation of these values.
576578
i = -1 and buffer = false and mustWrite = false
577579
}
578580

0 commit comments

Comments
 (0)