MCPcopy Create free account
hub / github.com/avast/retdec / getParameterType

Method getParameterType

src/ctypes/function.cpp:123–126  ·  view source on GitHub ↗

* @brief Returns the n-th parameter's type. * * @par Preconditions * - 0 < n <= ParameterCount * * The parameters are numbered starting with @c 1. */

Source from the content-addressed store, hash-verified

121* The parameters are numbered starting with @c 1.
122*/
123std::shared_ptr<Type> Function::getParameterType(Parameters::size_type n) const
124{
125 return getParameter(n).getType();
126}
127
128/**
129* @brief Returns @c true if function takes variable number of arguments,

Callers 3

getPairFunctionFreeMethod · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 1

getTypeMethod · 0.45

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64