Skip to content

Commit 59c86b5

Browse files
author
Daniel Marjamäki
committed
added doxygen comments
1 parent 1fa730d commit 59c86b5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/checknullpointer.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,20 @@ class CheckNullPointer : public Check
101101
void nullPointerError(const Token *tok, const std::string &varname);
102102
void nullPointerError(const Token *tok, const std::string &varname, const unsigned int line);
103103

104+
/** Get error messages. Used by --errorlist */
104105
void getErrorMessages(ErrorLogger *errorLogger, const Settings *settings)
105106
{
106107
CheckNullPointer c(0, settings, errorLogger);
107108
c.nullPointerError(0, "pointer");
108109
}
109110

111+
/** Name of check */
110112
std::string name() const
111113
{
112114
return "Null pointer";
113115
}
114116

117+
/** class info in WIKI format. Used by --doc */
115118
std::string classInfo() const
116119
{
117120
return "Null pointers\n"

0 commit comments

Comments
 (0)