| 2037 | } |
| 2038 | |
| 2039 | static bool functionModifiesArguments(const Function* f) |
| 2040 | { |
| 2041 | return std::any_of(f->argumentList.cbegin(), f->argumentList.cend(), [](const Variable& var) { |
| 2042 | return var.isReference() && !var.isConst(); |
| 2043 | }); |
| 2044 | } |
| 2045 | |
| 2046 | bool isConstFunctionCall(const Token* ftok, const Library& library) |
| 2047 | { |
no test coverage detected