From d10822ea115045e11100f6dec51f7eb308133eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 8 Sep 2011 18:28:05 +0200 Subject: [PATCH] fixed a few doxygen warnings --- lib/checkmemoryleak.h | 36 ++++++++++++++++++------------------ lib/path.h | 2 +- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/lib/checkmemoryleak.h b/lib/checkmemoryleak.h index 6cda1b099..6ab4cb925 100644 --- a/lib/checkmemoryleak.h +++ b/lib/checkmemoryleak.h @@ -128,7 +128,7 @@ public: * @param varid variable id * @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) @@ -276,23 +276,23 @@ public: * @return Newly allocated token array. Caller needs to release reserved * memory by calling Tokenizer::deleteTokens(returnValue); * Returned tokens: - * - alloc : the variable is allocated - * - assign : the variable is assigned a new value - * - break : corresponds to "break" - * - callfunc : a function call with unknown side effects - * - continue : corresponds to "continue" - * - dealloc : the variable is deallocated - * - goto : corresponds to a "goto" - * - if : there is an "if" - * - 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" - * - loop : corresponds to either a "for" or a "while" - * - realloc : the variable is reallocated - * - return : corresponds to a "return" - * - use : unknown usage -> bail out checking of this execution path - * - &use : the address of the variable is taken - * - ::use : calling member function of class + * - "alloc" : the variable is allocated + * - "assign" : the variable is assigned a new value + * - "break" : corresponds to "break" + * - "callfunc" : a function call with unknown side effects + * - "continue" : corresponds to "continue" + * - "dealloc" : the variable is deallocated + * - "goto" : corresponds to a "goto" + * - "if" : there is an "if" + * - "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" + * - "loop" : corresponds to either a "for" or a "while" + * - "realloc" : the variable is reallocated + * - "return" : corresponds to a "return" + * - "use" : unknown usage -> bail out checking of this execution path + * - "&use" : the address of the variable is taken + * - "::use" : calling member function of class */ Token *getcode(const Token *tok, std::list callstack, const unsigned int varid, AllocType &alloctype, AllocType &dealloctype, bool classmember, unsigned int sz); diff --git a/lib/path.h b/lib/path.h index 1ee7b261c..bc1ca293d 100644 --- a/lib/path.h +++ b/lib/path.h @@ -66,7 +66,7 @@ public: /** * @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. */ static std::string removeQuotationMarks(const std::string &path);