diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-03-21 17:51:39 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-03-21 17:51:39 (GMT) |
commit | f0934859ee0c93cbbcfcd48e313dc18c18ac9b0c (patch) | |
tree | d13b60df55b5facf0d1431a222f42256e7f3d49c | |
parent | a952249824a68abe249e81042c5c946d4cb74b6f (diff) | |
parent | da3faf6b93fd3eb4e751d2c0cbd4ed9ceae7922b (diff) | |
download | Doxygen-f0934859ee0c93cbbcfcd48e313dc18c18ac9b0c.zip Doxygen-f0934859ee0c93cbbcfcd48e313dc18c18ac9b0c.tar.gz Doxygen-f0934859ee0c93cbbcfcd48e313dc18c18ac9b0c.tar.bz2 |
Merge pull request #319 from albert-github/feature/bug_warnings
Bug 746576 - Warnings without filename
-rw-r--r-- | src/docparser.cpp | 4 | ||||
-rw-r--r-- | src/memberdef.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index fa77784..7944bf7 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -519,8 +519,8 @@ static void checkUndocumentedParams() } else { - warn_doc_error(g_memberDef->docFile(), - g_memberDef->docLine(), + warn_doc_error(g_memberDef->getDefFileName(), + g_memberDef->getDefLine(), substitute(errMsg,"%","%%")); } } diff --git a/src/memberdef.cpp b/src/memberdef.cpp index f27a579..4331181 100644 --- a/src/memberdef.cpp +++ b/src/memberdef.cpp @@ -2991,13 +2991,13 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol, { if (!hasDocumentedParams()) { - warn_doc_error(docFile(),docLine(), + warn_doc_error(getDefFileName(),getDefLine(), "parameters of member %s are not (all) documented", qPrint(qualifiedName())); } if (!hasDocumentedReturnType() && isFunction() && hasDocumentation()) { - warn_doc_error(docFile(),docLine(), + warn_doc_error(getDefFileName(),getDefLine(), "return type of member %s is not documented", qPrint(qualifiedName())); } @@ -3230,7 +3230,7 @@ void MemberDef::warnIfUndocumented() !isReference() ) { - warn_undoc(getDefFileName(),getDefLine(),"Member %s%s (%s) of %s %s is not documented.", + warn_undoc(d->getDefFileName(),d->getDefLine(),"Member %s%s (%s) of %s %s is not documented.", qPrint(name()),qPrint(argsString()),qPrint(memberTypeName()),t,qPrint(d->name())); } } |