Skip to content

Commit b51f19d

Browse files
authored
Fix some doxygen warnings/issues in the comments (cppcheck-opensource#1537)
1 parent 5be8e18 commit b51f19d

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

cli/cppcheckexecutor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ static const size_t MYSTACKSIZE = 16*1024+SIGSTKSZ; // wild guess about a reason
297297
static char mytstack[MYSTACKSIZE]= {0}; // alternative stack for signal handler
298298
static bool bStackBelowHeap=false; // lame attempt to locate heap vs. stack address space. See CppCheckExecutor::check_wrapper()
299299

300-
/*
300+
/**
301301
* \param[in] ptr address to be examined.
302302
* \return true if address is supposed to be on stack (contrary to heap). If ptr is 0 false will be returned.
303303
* If unknown better return false.

cli/cppcheckexecutor.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ class CppCheckExecutor : public ErrorLogger {
137137
* Wrapper around check_internal
138138
* - installs optional platform dependent signal handling
139139
*
140-
* * @param cppcheck cppcheck instance
141-
* @param argc from main()
142-
* @param argv from main()
140+
* @param cppcheck cppcheck instance
141+
* @param argc from main()
142+
* @param argv from main()
143143
**/
144144
int check_wrapper(CppCheck& cppcheck, int argc, const char* const argv[]);
145145

gui/projectfile.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ class ProjectFile : public QObject {
208208

209209
/**
210210
* @brief Set list of undefines.
211-
* @param defines List of undefines.
211+
* @param undefines List of undefines.
212212
*/
213213
void setUndefines(const QStringList &undefines);
214214

lib/templatesimplifier.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ class CPPCHECKLIB TemplateSimplifier {
254254

255255
/**
256256
* Get the new token name.
257-
* @param tok name token
257+
* @param tok2 name token
258258
* @param &typeStringsUsedInTemplateInstantiation type strings use in template instantiation
259259
* @return new token name
260260
*/

0 commit comments

Comments
 (0)