File tree Expand file tree Collapse file tree
cpp/ql/src/semmle/code/cpp/dataflow/internal Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments