Skip to content

Commit 625e37a

Browse files
fix typo
Co-authored-by: intrigus-lgtm <60750685+intrigus-lgtm@users.noreply.github.com>
1 parent 1037c2b commit 625e37a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowUtil.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ private predicate exprToExprStep_nocfg(Expr fromExpr, Expr toExpr) {
699699
call.getTarget() = f and
700700
// AST dataflow treats a reference as if it were the referred-to object, while the dataflow
701701
// models treat references as pointers. If the return type of the call is a reference, then
702-
// look for data flow the referred-to object, rather than the reference itself.
702+
// look for data flow to the referred-to object, rather than the reference itself.
703703
if call.getType().getUnspecifiedType() instanceof ReferenceType
704704
then outModel.isReturnValueDeref()
705705
else outModel.isReturnValue()

0 commit comments

Comments
 (0)