diff options
author | Vladimír Vondruš <mosra@centrum.cz> | 2017-11-28 00:04:37 (GMT) |
---|---|---|
committer | Vladimír Vondruš <mosra@centrum.cz> | 2017-11-28 00:04:37 (GMT) |
commit | 21f0ca0085c034a37df07c1ab690472bada0a1f1 (patch) | |
tree | 9b4a043bd50c92a56271f5d1dbeb80b6d3392942 /src/xmlgen.cpp | |
parent | 4f45bd20d4da7d40c793ec4c4c13558581e995ac (diff) | |
download | Doxygen-21f0ca0085c034a37df07c1ab690472bada0a1f1.zip Doxygen-21f0ca0085c034a37df07c1ab690472bada0a1f1.tar.gz Doxygen-21f0ca0085c034a37df07c1ab690472bada0a1f1.tar.bz2 |
Provide template parameters also for type aliases in the XML output.
Until now, probably due to C++03 assumptions, typedefs and type
aliases skipped printing of the template parameter specifications to
the XML output. That's now fixed, so the following type alias will
properly contain <templateparamlist> in the XML output:
template<class T> using Vec = std::vector<T>;
Added also a test case that verifies this.
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r-- | src/xmlgen.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index 1b03c3b..da795e9 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -789,10 +789,7 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De md->memberType()!=MemberType_Enumeration ) { - if (md->memberType()!=MemberType_Typedef) - { - writeMemberTemplateLists(md,t); - } + writeMemberTemplateLists(md,t); QCString typeStr = md->typeString(); //replaceAnonymousScopes(md->typeString()); stripQualifiers(typeStr); t << " <type>"; |