fixed a few doxygen warnings

This commit is contained in:
Daniel Marjamäki 2011-09-08 18:28:05 +02:00
parent 184e0550b8
commit d10822ea11
2 changed files with 19 additions and 19 deletions

View File

@ -128,7 +128,7 @@ public:
* @param varid variable id * @param varid variable id
* @return true if the type name is the name of a class * @return true if the type name is the name of a class
*/ */
bool isclass(const Tokenizer *_tokenizer, const Token *typestr, unsigned int varid) const; bool isclass(const Tokenizer *_tokenizer, const Token *tok, unsigned int varid) const;
/** /**
* Report that there is a memory leak (new/malloc/etc) * Report that there is a memory leak (new/malloc/etc)
@ -276,23 +276,23 @@ public:
* @return Newly allocated token array. Caller needs to release reserved * @return Newly allocated token array. Caller needs to release reserved
* memory by calling Tokenizer::deleteTokens(returnValue); * memory by calling Tokenizer::deleteTokens(returnValue);
* Returned tokens: * Returned tokens:
* - alloc : the variable is allocated * - "alloc" : the variable is allocated
* - assign : the variable is assigned a new value * - "assign" : the variable is assigned a new value
* - break : corresponds to "break" * - "break" : corresponds to "break"
* - callfunc : a function call with unknown side effects * - "callfunc" : a function call with unknown side effects
* - continue : corresponds to "continue" * - "continue" : corresponds to "continue"
* - dealloc : the variable is deallocated * - "dealloc" : the variable is deallocated
* - goto : corresponds to a "goto" * - "goto" : corresponds to a "goto"
* - if : there is an "if" * - "if" : there is an "if"
* - if(var) : corresponds with "if ( var != 0 )" * - "if(var)" : corresponds with "if ( var != 0 )"
* - if(!var) : corresponds with "if ( var == 0 )" * - "if(!var)" : corresponds with "if ( var == 0 )"
* - ifv : the variable is used in some way in a "if" * - "ifv" : the variable is used in some way in a "if"
* - loop : corresponds to either a "for" or a "while" * - "loop" : corresponds to either a "for" or a "while"
* - realloc : the variable is reallocated * - "realloc" : the variable is reallocated
* - return : corresponds to a "return" * - "return" : corresponds to a "return"
* - use : unknown usage -> bail out checking of this execution path * - "use" : unknown usage -> bail out checking of this execution path
* - &use : the address of the variable is taken * - "&use" : the address of the variable is taken
* - ::use : calling member function of class * - "::use" : calling member function of class
*/ */
Token *getcode(const Token *tok, std::list<const Token *> callstack, const unsigned int varid, AllocType &alloctype, AllocType &dealloctype, bool classmember, unsigned int sz); Token *getcode(const Token *tok, std::list<const Token *> callstack, const unsigned int varid, AllocType &alloctype, AllocType &dealloctype, bool classmember, unsigned int sz);

View File

@ -66,7 +66,7 @@ public:
/** /**
* @brief Remove quotation marks (") from the path. * @brief Remove quotation marks (") from the path.
* @param originalPath path to be cleaned. * @param path path to be cleaned.
* @return Cleaned path without quotation marks. * @return Cleaned path without quotation marks.
*/ */
static std::string removeQuotationMarks(const std::string &path); static std::string removeQuotationMarks(const std::string &path);