| 1709 | |
| 1710 | |
| 1711 | bool Library::hasminsize(const Token *ftok) const |
| 1712 | { |
| 1713 | if (isNotLibraryFunction(ftok)) |
| 1714 | return false; |
| 1715 | const auto it = utils::as_const(mData->mFunctions).find(getFunctionName(ftok)); |
| 1716 | if (it == mData->mFunctions.cend()) |
| 1717 | return false; |
| 1718 | return std::any_of(it->second.argumentChecks.cbegin(), it->second.argumentChecks.cend(), [](const std::pair<const int, Library::ArgumentChecks>& a) { |
| 1719 | return !a.second.minsizes.empty(); |
| 1720 | }); |
| 1721 | } |
| 1722 | |
| 1723 | Library::ArgumentChecks::Direction Library::getArgDirection(const Token* ftok, int argnr, int indirect) const |
| 1724 | { |
no test coverage detected