MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / debugMessage

Method debugMessage

lib/symboldatabase.cpp:3850–3861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3848}
3849
3850void 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
3863void SymbolDatabase::returnImplicitIntError(const Token *tok) const
3864{

Callers 4

addArgumentsMethod · 0.80
checkVariableMethod · 0.80
checkConstMethod · 0.80
isMemberVarMethod · 0.80

Calls 1

reportErrMethod · 0.45

Tested by

no test coverage detected