From 7e08dcdc7b10f9a080dd26731e7859f07392a500 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Wed, 13 Jan 2021 21:01:30 +0100 Subject: Avoid writing artifically created classes to the tag file --- src/classdef.cpp | 9 +++++++-- src/doxygen.cpp | 5 +---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/classdef.cpp b/src/classdef.cpp index 88bc44c..3b0390f 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -2102,7 +2102,7 @@ void ClassDefImpl::writeSummaryLinks(OutputList &ol) const void ClassDefImpl::writeTagFile(FTextStream &tagFile) { - if (!isLinkableInProject()) return; + if (!isLinkableInProject() || isArtificial()) return; tagFile << " tempArgs) { - tagFile << " " << convertToXML(a.name) << "" << endl; + tagFile << " " << convertToXML(a.type); + if (!a.name.isEmpty()) + { + tagFile << " " << convertToXML(a.name); + } + tagFile << "" << endl; } for (const auto &ibcd : m_impl->inherits) { diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 3fdde9b..5f00d1d 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -4191,10 +4191,7 @@ static void findTemplateInstanceRelation(const Entry *root, root->fileName,root->startLine,root->startColumn,templSpec,freshInstance)); if (instanceClass) { - if (isArtificial) - { - instanceClass->setArtificial(TRUE); - } + instanceClass->setArtificial(TRUE); instanceClass->setLanguage(root->lang); if (freshInstance) -- cgit v0.12