Skip to content

Commit 4a9b2d5

Browse files
committed
Comment change.
1 parent 5b0a3dc commit 4a9b2d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/Likely Bugs/Format/NonConstantFormat.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ predicate isNonConst(DataFlow::Node node) {
7979
// The function's output must also not be const to be considered a non-const source
8080
exists(Function func, CallInstruction call |
8181
// NOTE: could use `Call` getAnArgument() instead of `CallInstruction` but requires two
82-
// variables representing the same call.
82+
// variables representing the same call in ordoer to use `callOutput` below.
8383
exists(Expr arg | call.getPositionalArgumentOperand(_).getDef().getUnconvertedResultExpression() = arg and
8484
arg = node.asDefiningArgument()
8585
)

0 commit comments

Comments
 (0)