Skip to content

Commit ecbce88

Browse files
committed
C++: Fix comment.
1 parent 9ff894b commit ecbce88

File tree

1 file changed

+2
-2
lines changed
  • cpp/ql/src/semmle/code/cpp/dataflow/internal

1 file changed

+2
-2
lines changed

cpp/ql/src/semmle/code/cpp/dataflow/internal/FlowVar.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ private module PartialDefinitions {
256256
innerDefinedExpr = getAPointerWrapperAccess(pointer)
257257
)
258258
or
259-
// iterators passed by value without a copy constructor
259+
// pointer wrappers passed by value without a copy constructor
260260
exists(Call call |
261261
call = node and
262262
call.getAnArgument() = innerDefinedExpr and
@@ -265,7 +265,7 @@ private module PartialDefinitions {
265265
not call instanceof OverloadedPointerDereferenceExpr
266266
)
267267
or
268-
// iterators passed by value with a copy constructor
268+
// pointer wrappers passed by value with a copy constructor
269269
exists(Call call, ConstructorCall copy |
270270
copy.getTarget() instanceof CopyConstructor and
271271
call = node and

0 commit comments

Comments
 (0)