added doxygen comments

This commit is contained in:
Daniel Marjamäki 2010-12-31 14:16:22 +01:00
parent 1fa730d963
commit 59c86b5876
1 changed files with 3 additions and 0 deletions

View File

@ -101,17 +101,20 @@ public:
void nullPointerError(const Token *tok, const std::string &varname);
void nullPointerError(const Token *tok, const std::string &varname, const unsigned int line);
/** Get error messages. Used by --errorlist */
void getErrorMessages(ErrorLogger *errorLogger, const Settings *settings)
{
CheckNullPointer c(0, settings, errorLogger);
c.nullPointerError(0, "pointer");
}
/** Name of check */
std::string name() const
{
return "Null pointer";
}
/** class info in WIKI format. Used by --doc */
std::string classInfo() const
{
return "Null pointers\n"