diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-12-24 12:20:58 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-12-24 12:20:58 (GMT) |
commit | 4a627283263247deccc125d072f23d93057b8a65 (patch) | |
tree | 98d0983ccbf276e948c93cb9379793cad053ea3b /src/xmlgen.cpp | |
parent | 259d45b94b83523a508b42e71cac1441f2939ac3 (diff) | |
download | Doxygen-4a627283263247deccc125d072f23d93057b8a65.zip Doxygen-4a627283263247deccc125d072f23d93057b8a65.tar.gz Doxygen-4a627283263247deccc125d072f23d93057b8a65.tar.bz2 |
issue #8274 List entries for file & namespace enums (part 2)
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r-- | src/xmlgen.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index 13f76cb..8ffaca2 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -482,6 +482,7 @@ static void writeMemberReference(FTextStream &t,const Definition *def,const Memb static void stripQualifiers(QCString &typeStr) { bool done=FALSE; + typeStr.stripPrefix("friend "); while (!done) { if (typeStr.stripPrefix("static ")); @@ -849,7 +850,15 @@ static void generateXMLForMember(const MemberDef *md,FTextStream &ti,FTextStream } } - if (isFunc) //function + if (md->isFriendClass()) // for friend classes we show a link to the class as a "parameter" + { + t << " <param>" << endl; + t << " <type>"; + linkifyText(TextGeneratorXMLImpl(t),def,md->getBodyDef(),md,md->name()); + t << "</type>" << endl; + t << " </param>" << endl; + } + else if (isFunc) //function { const ArgumentList &declAl = md->declArgumentList(); const ArgumentList &defAl = md->argumentList(); |