Member predicate InParameterDeref::isParameterDeref
Holds if this is the input value pointed to (through ind number of indirections) by a
pointer parameter to a function, or the input value referred to by a reference parameter
to a function, where the parameter has index index.
Example:
void func(int n, char* p, float& r);
isParameterDeref(1, 1)holds for theFunctionInputthat represents the value of*p(with typechar) on entry to the function.isParameterDeref(2, 1)holds for theFunctionInputthat represents the value ofr(with typefloat) on entry to the function.- There is no
FunctionInputfor whichisParameterDeref(0, _)holds, becausenis neither a pointer nor a reference.
predicate isParameterDeref(ParameterIndex i, int indirection)