We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b0a3dc commit 4a9b2d5Copy full SHA for 4a9b2d5
cpp/ql/src/Likely Bugs/Format/NonConstantFormat.ql
@@ -79,7 +79,7 @@ predicate isNonConst(DataFlow::Node node) {
79
// The function's output must also not be const to be considered a non-const source
80
exists(Function func, CallInstruction call |
81
// NOTE: could use `Call` getAnArgument() instead of `CallInstruction` but requires two
82
- // variables representing the same call.
+ // variables representing the same call in ordoer to use `callOutput` below.
83
exists(Expr arg | call.getPositionalArgumentOperand(_).getDef().getUnconvertedResultExpression() = arg and
84
arg = node.asDefiningArgument()
85
)
0 commit comments