Skip to content

Commit 7217197

Browse files
Apply suggestions from code review
Co-authored-by: Mathias Vorreiter Pedersen <[email protected]>
1 parent 84316c4 commit 7217197

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared/dataflow/codeql/dataflow/VariableCapture.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ signature module OutputSig<InputSig I> {
201201

202202
/** A data flow node for the instance parameter argument of a constructor call. */
203203
class MallocNode extends ClosureNode {
204-
/** Gets closure construction that is the post-update of this node. */
204+
/** Gets the closure construction that is the post-update of this node. */
205205
I::ClosureExpr getClosureExpr();
206206
}
207207

@@ -912,7 +912,7 @@ module Flow<InputSig Input> implements OutputSig<Input> {
912912
|
913913
post = true
914914
or
915-
// for a constructor call the regulare ExprNode is the post-update for the MallocNode
915+
// for a constructor call the regular ExprNode is the post-update for the MallocNode
916916
post = false and hasConstructorCapture(closure, v)
917917
)
918918
or

0 commit comments

Comments
 (0)