diff --git a/cli/cppcheckexecutor.h b/cli/cppcheckexecutor.h index a9a1089c9..5b02aeb97 100644 --- a/cli/cppcheckexecutor.h +++ b/cli/cppcheckexecutor.h @@ -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 diff --git a/lib/checknullpointer.h b/lib/checknullpointer.h index 967921cf5..1d7c3e465 100644 --- a/lib/checknullpointer.h +++ b/lib/checknullpointer.h @@ -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); diff --git a/lib/templatesimplifier.h b/lib/templatesimplifier.h index 693bf007c..e6bfc11d9 100644 --- a/lib/templatesimplifier.h +++ b/lib/templatesimplifier.h @@ -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. */ diff --git a/lib/tokenize.h b/lib/tokenize.h index e190209c5..26fe340e9 100644 --- a/lib/tokenize.h +++ b/lib/tokenize.h @@ -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);