mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
C++: Fix comment.
This commit is contained in:
@@ -256,7 +256,7 @@ private module PartialDefinitions {
|
|||||||
innerDefinedExpr = getAPointerWrapperAccess(pointer)
|
innerDefinedExpr = getAPointerWrapperAccess(pointer)
|
||||||
)
|
)
|
||||||
or
|
or
|
||||||
// iterators passed by value without a copy constructor
|
// pointer wrappers passed by value without a copy constructor
|
||||||
exists(Call call |
|
exists(Call call |
|
||||||
call = node and
|
call = node and
|
||||||
call.getAnArgument() = innerDefinedExpr and
|
call.getAnArgument() = innerDefinedExpr and
|
||||||
@@ -265,7 +265,7 @@ private module PartialDefinitions {
|
|||||||
not call instanceof OverloadedPointerDereferenceExpr
|
not call instanceof OverloadedPointerDereferenceExpr
|
||||||
)
|
)
|
||||||
or
|
or
|
||||||
// iterators passed by value with a copy constructor
|
// pointer wrappers passed by value with a copy constructor
|
||||||
exists(Call call, ConstructorCall copy |
|
exists(Call call, ConstructorCall copy |
|
||||||
copy.getTarget() instanceof CopyConstructor and
|
copy.getTarget() instanceof CopyConstructor and
|
||||||
call = node and
|
call = node and
|
||||||
|
|||||||
Reference in New Issue
Block a user