fixed doxygen errors

This commit is contained in:
Daniel Marjamäki 2012-07-08 19:32:33 +02:00
parent ed7e950671
commit 42e68550fc
4 changed files with 11 additions and 0 deletions

View File

@ -99,6 +99,7 @@ protected:
* @brief Parse command line args and get settings and file lists
* from there.
*
* @param cppcheck cppcheck instance
* @param argc argc from main()
* @param argv argv from main()
* @return false when errors are found in the input

View File

@ -77,6 +77,7 @@ public:
* is returned.
* @param tok token for the pointer
* @param unknown it is not known if there is a pointer dereference (could be reported as a debug message)
* @param symbolDatabase symbol database
* @return true => there is a dereference
*/
static bool isPointerDeRef(const Token *tok, bool &unknown, const SymbolDatabase* symbolDatabase);

View File

@ -125,6 +125,9 @@ public:
/**
* Simplify templates : expand all instantiatiations for a template
* @todo It seems that inner templates should be instantiated recursively
* @param tokenlist token list
* @param errorlogger error logger
* @param _settings settings
* @param tok token where the template declaration begins
* @param templateInstantiations a list of template usages (not necessarily just for this template)
* @param expandedtemplates all templates that has been expanded so far. The full names are stored.
@ -139,6 +142,10 @@ public:
/**
* Simplify templates
* @param tokenlist token list
* @param errorlogger error logger
* @param _settings settings
* @param _codeWithTemplates output parameter that is set if code contains templates
*/
static void simplifyTemplates(
TokenList& tokenlist,
@ -148,6 +155,7 @@ public:
/**
* Simplify constant calculations such as "1+2" => "3"
* @param _tokens start token
* @return true if modifications to token-list are done.
* false if no modifications are done.
*/

View File

@ -728,6 +728,7 @@ public:
* @param dest destination token where copied tokens will be inserted after
* @param first first token to copy
* @param last last token to copy
* @param one_line true=>copy all tokens to the same line as dest. false=>copy all tokens to dest while keeping the 'line breaks'
* @return new location of last token copied
*/
static Token *copyTokens(Token *dest, const Token *first, const Token *last, bool one_line = true);