doxygen updates

This commit is contained in:
Daniel Marjamäki 2010-03-17 22:16:18 +01:00
parent 89719b023e
commit e911d1f1df
11 changed files with 24 additions and 24 deletions

View File

@ -45,7 +45,7 @@ public:
instances().sort();
}
/** This constructor is used when running checks.. */
/** This constructor is used when running checks. */
Check(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
: _tokenizer(tokenizer), _settings(settings), _errorLogger(errorLogger)
{ }

View File

@ -37,7 +37,7 @@ public:
CheckAutoVariables() : Check()
{ }
/** This constructor is used when running checks.. */
/** This constructor is used when running checks. */
CheckAutoVariables(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
: Check(tokenizer, settings, errorLogger)
{ }

View File

@ -52,7 +52,7 @@ public:
CheckBufferOverrun() : Check()
{ }
/** This constructor is used when running checks.. */
/** This constructor is used when running checks. */
CheckBufferOverrun(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
: Check(tokenizer, settings, errorLogger)
{ }

View File

@ -38,7 +38,7 @@ public:
CheckClass() : Check()
{ }
/** @brief This constructor is used when running checks.. */
/** @brief This constructor is used when running checks. */
CheckClass(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
: Check(tokenizer, settings, errorLogger)
{ }
@ -90,7 +90,7 @@ public:
*/
void noMemset();
/** @brief 'operator=' should return something.. */
/** @brief 'operator=' should return something. */
void operatorEq();
/** @brief 'operator=' should return reference to *this */

View File

@ -38,7 +38,7 @@ public:
CheckDangerousFunctions() : Check()
{ }
/** This constructor is used when running checks.. */
/** This constructor is used when running checks. */
CheckDangerousFunctions(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
: Check(tokenizer, settings, errorLogger)
{ }

View File

@ -46,7 +46,7 @@ public:
CheckExceptionSafety() : Check()
{ }
/** This constructor is used when running checks.. */
/** This constructor is used when running checks. */
CheckExceptionSafety(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
: Check(tokenizer, settings, errorLogger)
{ }

View File

@ -1741,7 +1741,7 @@ private:
}
/** Initialize an array with strncpy.. */
/** Initialize an array with strncpy. */
static void init_strncpy(std::list<ExecutionPath *> &checks, const Token *tok)
{
const unsigned int varid(tok->varId());

View File

@ -40,7 +40,7 @@ public:
CheckOther() : Check()
{ }
/** @brief This constructor is used when running checks.. */
/** @brief This constructor is used when running checks. */
CheckOther(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
: Check(tokenizer, settings, errorLogger)
{ }

View File

@ -38,7 +38,7 @@ public:
CheckStl() : Check()
{ }
/** This constructor is used when running checks.. */
/** This constructor is used when running checks. */
CheckStl(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
: Check(tokenizer, settings, errorLogger)
{ }

View File

@ -1281,7 +1281,7 @@ bool Tokenizer::tokenize(std::istream &code, const char FileName[], const std::s
}
//---------------------------------------------------------------------------
/** Specify array size if it hasn't been given.. */
/** Specify array size if it hasn't been given */
void Tokenizer::arraySize()
{
@ -1335,7 +1335,7 @@ void Tokenizer::labels()
/**
* is the token pointing at a template parameters block..
* is the token pointing at a template parameters block
* < int , 3 > => yes
* \param tok start token that must point at "<"
* \return true if the tokens look like template parameters

View File

@ -38,7 +38,7 @@ class Settings;
class Tokenizer
{
private:
/** Deallocate lists.. */
/** Deallocate lists */
void deallocateTokens();
public:
@ -179,40 +179,40 @@ public:
bool simplifyQuestionMark();
/**
* simplify if-assignments..
* simplify if-assignments
* Example: "if(a=b);" => "a=b;if(a);"
*/
void simplifyIfAssign();
/**
* simplify if-not..
* simplify if-not
* Example: "if(0==x);" => "if(!x);"
*/
void simplifyIfNot();
/**
* simplify if-not NULL..
* Example: "if(0!=x);" => "if(x);"
* simplify if-not NULL
* - "if(0!=x);" => "if(x);"
*/
void simplifyIfNotNull();
/** @brief simplify if (a) { if (a) .. */
/** @brief simplify if (a) { if (a) */
void simplifyIfSameInnerCondition();
/**
* Simplify the "not" and "and" keywords to "!" and "&&"
* accordingly.
* Examples:
* "if (not p)" => "if (!p)"
* "if (p and q)" => "if (p && q)"
* - "if (not p)" => "if (!p)"
* - "if (p and q)" => "if (p && q)"
*/
void simplifyLogicalOperators();
/**
* Simplify comma into a semicolon when possible
* Example: "delete a, delete b" => "delete a; delete b;"
* Example: "a = 0, b = 0;" => "a = 0; b = 0;"
* Example: "return a(), b;" => "a(); return b;"
* Simplify comma into a semicolon when possible:
* - "delete a, delete b" => "delete a; delete b;"
* - "a = 0, b = 0;" => "a = 0; b = 0;"
* - "return a(), b;" => "a(); return b;"
*/
void simplifyComma();