| 3848 | } |
| 3849 | |
| 3850 | void SymbolDatabase::debugMessage(const Token *tok, const std::string &type, const std::string &msg) const |
| 3851 | { |
| 3852 | if (tok && mSettings.debugwarnings) { |
| 3853 | const std::list<const Token*> locationList(1, tok); |
| 3854 | const ErrorMessage errmsg(locationList, &mTokenizer.list, |
| 3855 | Severity::debug, |
| 3856 | type, |
| 3857 | msg, |
| 3858 | Certainty::normal); |
| 3859 | mErrorLogger.reportErr(errmsg); |
| 3860 | } |
| 3861 | } |
| 3862 | |
| 3863 | void SymbolDatabase::returnImplicitIntError(const Token *tok) const |
| 3864 | { |
no test coverage detected