We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fa730d commit 59c86b5Copy full SHA for 59c86b5
1 file changed
lib/checknullpointer.h
@@ -101,17 +101,20 @@ class CheckNullPointer : public Check
101
void nullPointerError(const Token *tok, const std::string &varname);
102
void nullPointerError(const Token *tok, const std::string &varname, const unsigned int line);
103
104
+ /** Get error messages. Used by --errorlist */
105
void getErrorMessages(ErrorLogger *errorLogger, const Settings *settings)
106
{
107
CheckNullPointer c(0, settings, errorLogger);
108
c.nullPointerError(0, "pointer");
109
}
110
111
+ /** Name of check */
112
std::string name() const
113
114
return "Null pointer";
115
116
117
+ /** class info in WIKI format. Used by --doc */
118
std::string classInfo() const
119
120
return "Null pointers\n"
0 commit comments