From b90b751b54f438e12e2b941727b8a69583beb818 Mon Sep 17 00:00:00 2001 From: Alexander Mai Date: Sun, 30 Aug 2015 20:12:02 +0200 Subject: [PATCH] Cure some doxygen warnings --- lib/astutils.h | 1 + lib/preprocessor.cpp | 4 +++- lib/templatesimplifier.h | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/astutils.h b/lib/astutils.h index e64965404..b841cb9d8 100644 --- a/lib/astutils.h +++ b/lib/astutils.h @@ -56,6 +56,7 @@ bool isSameExpression(bool cpp, const Token *tok1, const Token *tok2, const std: * @param cpp c++ file * @param cond1 condition1 * @param cond2 condition2 + * @param constFunctions constFunctions */ bool isOppositeCond(bool isNot, bool cpp, const Token * const cond1, const Token * const cond2, const std::set &constFunctions); diff --git a/lib/preprocessor.cpp b/lib/preprocessor.cpp index 809553cfb..fc18ce0e3 100644 --- a/lib/preprocessor.cpp +++ b/lib/preprocessor.cpp @@ -1163,6 +1163,7 @@ static Token *simplifyVarMapExpandValue(Token *tok, const std::mapB, B=>1, then A=>B is simplified to A=>1. * @param [in,out] variables - a map of variable name to variable value. This map will be modified. + * @param [in] settings Current settings being used */ static void simplifyVarMap(std::map &variables, const Settings& settings) { @@ -2581,8 +2582,9 @@ public: /** * @brief Constructor for PreprocessorMacro. This is the "setter" * for this class - everything is setup here. - * @param macro The code after define, until end of line, + * @param [in] macro The code after define, until end of line, * e.g. "A(x) foo(x);" + * @param [in] settings Current settings being used */ PreprocessorMacro(const std::string ¯o, const Settings* settings) : tokenlist(settings), _macro(macro) { diff --git a/lib/templatesimplifier.h b/lib/templatesimplifier.h index d99348a8c..a3692e5ab 100644 --- a/lib/templatesimplifier.h +++ b/lib/templatesimplifier.h @@ -52,7 +52,6 @@ public: /** * \param[in] tokens token list - * \param[out] errorToken which identifies the syntax error if any. Might be NULL anyway * @return false if there are no syntax errors or true */ static void checkComplicatedSyntaxErrorsInTemplates(const Token *tokens);