| 1765 | return false; |
| 1766 | } |
| 1767 | bool Library::isFunctionConst(const std::string& functionName, bool pure) const |
| 1768 | { |
| 1769 | const auto it = utils::as_const(mData->mFunctions).find(functionName); |
| 1770 | if (it != mData->mFunctions.cend()) |
| 1771 | return pure ? it->second.ispure : it->second.isconst; |
| 1772 | return false; |
| 1773 | } |
| 1774 | bool Library::isFunctionConst(const Token *ftok) const |
| 1775 | { |
| 1776 | if (ftok->function() && ftok->function()->isConst()) |
no test coverage detected