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 662e749 commit 06bc8adCopy full SHA for 06bc8ad
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll
@@ -1328,12 +1328,7 @@ abstract private class AbstractParameterNode extends Node {
1328
final predicate isParameterOf(DataFlowCallable c, ParameterPosition pos) {
1329
this.isSummaryParameterOf(c.asSummarizedCallable(), pos)
1330
or
1331
- exists(Function f | this.isSourceParameterOf(f, pos) |
1332
- not exists(TSummarizedCallable(f)) and
1333
- c.asSourceCallable() = f
1334
- or
1335
- c.asSummarizedCallable() = f
1336
- )
+ this.isSourceParameterOf(c.asSourceCallable(), pos)
1337
}
1338
1339
/** Gets the `Parameter` associated with this node, if it exists. */
0 commit comments