C++: Fix comment.

This commit is contained in:
Mathias Vorreiter Pedersen
2021-03-31 22:23:50 +02:00
parent 9ff894bf83
commit ecbce88ec7

View File

@@ -256,7 +256,7 @@ private module PartialDefinitions {
innerDefinedExpr = getAPointerWrapperAccess(pointer)
)
or
// iterators passed by value without a copy constructor
// pointer wrappers passed by value without a copy constructor
exists(Call call |
call = node and
call.getAnArgument() = innerDefinedExpr and
@@ -265,7 +265,7 @@ private module PartialDefinitions {
not call instanceof OverloadedPointerDereferenceExpr
)
or
// iterators passed by value with a copy constructor
// pointer wrappers passed by value with a copy constructor
exists(Call call, ConstructorCall copy |
copy.getTarget() instanceof CopyConstructor and
call = node and