Updated wrong comments (looks like after copy&paste).

No code change.
This commit is contained in:
Slava Semushin 2009-05-22 12:51:30 +07:00
parent 3d648b92ab
commit 3a40c33d7b
6 changed files with 6 additions and 10 deletions

View File

@ -18,7 +18,7 @@
*/
//---------------------------------------------------------------------------
// Buffer overrun..
// Auto variables checks
//---------------------------------------------------------------------------
#include "checkautovariables.h"

View File

@ -45,7 +45,7 @@ public:
checkAutoVariables.autoVariables();
}
/** Check for buffer overruns */
/** Check auto variables */
void autoVariables();
private:

View File

@ -18,7 +18,7 @@
*/
//---------------------------------------------------------------------------
// Buffer overrun..
// Dangerous functions
//---------------------------------------------------------------------------
#include "checkdangerousfunctions.h"
@ -43,10 +43,6 @@ namespace
CheckDangerousFunctionsClass instance;
}
//---------------------------------------------------------------------------
// Dangerous functions
//---------------------------------------------------------------------------
void CheckDangerousFunctionsClass::dangerousFunctions()
{
for (const Token *tok = _tokenizer->tokens(); tok; tok = tok->next())

View File

@ -43,7 +43,7 @@ public:
checkDangerousFunctionsClass.dangerousFunctions();
}
/** Check for buffer overruns */
/** Check for dangerous functions */
void dangerousFunctions();
private:

View File

@ -53,7 +53,7 @@ private:
// Clear the error buffer..
errout.str("");
// Check for buffer overruns..
// Check auto variables
Settings settings;
settings._showAll = true;
CheckAutoVariables checkAutoVariables(&tokenizer, &settings, this);

View File

@ -53,7 +53,7 @@ private:
// Clear the error buffer..
errout.str("");
// Check for buffer overruns..
// Check for dangerous functions..
Settings settings;
settings._showAll = true;
CheckDangerousFunctionsClass checkDangerousFunctions(&tokenizer, &settings, this);