diff options
author | albert-github <albert.tests@gmail.com> | 2019-10-28 18:00:25 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-10-28 18:00:25 (GMT) |
commit | 80a264bf79f60c9ae4446cb93a3a93662779d885 (patch) | |
tree | 8955eed19d43573db6cefb71dfb9bb3989cf7cfa /src/doxygen.cpp | |
parent | e8f268edd2e440c136735e878e4c9d79d57354ae (diff) | |
download | Doxygen-80a264bf79f60c9ae4446cb93a3a93662779d885.zip Doxygen-80a264bf79f60c9ae4446cb93a3a93662779d885.tar.gz Doxygen-80a264bf79f60c9ae4446cb93a3a93662779d885.tar.bz2 |
Properly open quotes in warning
Commit 78b5c44 'Properly close quotes in warning' https://github.com/doxygen/doxygen/pull/7312 handled the case that a closing quote was missing in case of a missing closing quote.
I case the word template is missing it is possible to miss the opening quote, resulting in:
```
wxWidgets-3.1.3/src/x11/brush.cpp:66: warning: no matching class member found for
wxBrush::wxBrush(const wxColour &col, int style)
Possible candidates:
wxBrush::wxBrush()'
wxBrush::wxBrush(const wxColour &colour, wxBrushStyle style=wxBRUSHSTYLE_SOLID)'
```
this is fixed here.
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index decd574..eb5e569 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -6298,13 +6298,14 @@ static void findMember(const Entry *root, if (cd!=0 && rightScopeMatch(cd->name(),className)) { const ArgumentList &templAl = md->templateArguments(); + warnMsg+=" '"; if (templAl.hasParameters()) { - warnMsg+=" 'template "; + warnMsg+="template "; warnMsg+=tempArgListToString(templAl,root->lang); warnMsg+='\n'; + warnMsg+=" "; } - warnMsg+=" "; if (md->typeString()) { warnMsg+=md->typeString(); |