| 1545 | } |
| 1546 | |
| 1547 | const Library::WarnInfo* Library::getWarnInfo(const Token* ftok) const |
| 1548 | { |
| 1549 | if (isNotLibraryFunction(ftok)) |
| 1550 | return nullptr; |
| 1551 | const auto i = utils::as_const(mData->mFunctionwarn).find(getFunctionName(ftok)); |
| 1552 | if (i == mData->mFunctionwarn.cend()) |
| 1553 | return nullptr; |
| 1554 | return &i->second; |
| 1555 | } |
| 1556 | |
| 1557 | bool Library::isCompliantValidationExpression(const char* p) |
| 1558 | { |