From b51f19d5301c565ed7618e41a29db77ff090159d Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 21 Dec 2018 21:23:03 +0100 Subject: [PATCH] Fix some doxygen warnings/issues in the comments (#1537) --- cli/cppcheckexecutor.cpp | 2 +- cli/cppcheckexecutor.h | 6 +++--- gui/projectfile.h | 2 +- lib/templatesimplifier.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cli/cppcheckexecutor.cpp b/cli/cppcheckexecutor.cpp index 8da708696..e4df5d118 100644 --- a/cli/cppcheckexecutor.cpp +++ b/cli/cppcheckexecutor.cpp @@ -297,7 +297,7 @@ static const size_t MYSTACKSIZE = 16*1024+SIGSTKSZ; // wild guess about a reason static char mytstack[MYSTACKSIZE]= {0}; // alternative stack for signal handler static bool bStackBelowHeap=false; // lame attempt to locate heap vs. stack address space. See CppCheckExecutor::check_wrapper() -/* +/** * \param[in] ptr address to be examined. * \return true if address is supposed to be on stack (contrary to heap). If ptr is 0 false will be returned. * If unknown better return false. diff --git a/cli/cppcheckexecutor.h b/cli/cppcheckexecutor.h index 0875e6a91..0dfcfe09c 100644 --- a/cli/cppcheckexecutor.h +++ b/cli/cppcheckexecutor.h @@ -137,9 +137,9 @@ private: * Wrapper around check_internal * - installs optional platform dependent signal handling * - * * @param cppcheck cppcheck instance - * @param argc from main() - * @param argv from main() + * @param cppcheck cppcheck instance + * @param argc from main() + * @param argv from main() **/ int check_wrapper(CppCheck& cppcheck, int argc, const char* const argv[]); diff --git a/gui/projectfile.h b/gui/projectfile.h index d8a39406f..617bf105a 100644 --- a/gui/projectfile.h +++ b/gui/projectfile.h @@ -208,7 +208,7 @@ public: /** * @brief Set list of undefines. - * @param defines List of undefines. + * @param undefines List of undefines. */ void setUndefines(const QStringList &undefines); diff --git a/lib/templatesimplifier.h b/lib/templatesimplifier.h index 28d115505..54fee1004 100644 --- a/lib/templatesimplifier.h +++ b/lib/templatesimplifier.h @@ -254,7 +254,7 @@ private: /** * Get the new token name. - * @param tok name token + * @param tok2 name token * @param &typeStringsUsedInTemplateInstantiation type strings use in template instantiation * @return new token name */