CodeQL library for C/C++
codeql/cpp-all 2.1.1 (changelog, source)
Search

Predicate isParameterNode

Holds if p is a ParameterNode of c with position pos.

Import path

import semmle.code.cpp.ir.dataflow.internal.DataFlowPrivate
predicate isParameterNode(ParameterNode p, DataFlowCallable c, ParameterPosition pos)