summaryrefslogtreecommitdiffstats
path: root/src/vhdldocgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-09-22 18:23:28 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-09-22 18:23:28 (GMT)
commitb9ad9a03cf4febeb2aa10ddca22c1c9296c5223b (patch)
tree059b5c4df60637b53cf98896407ad5ada2bf4ddd /src/vhdldocgen.cpp
parentdec53d22986c8d2c44a30806a2c8ed03bbe24768 (diff)
downloadDoxygen-b9ad9a03cf4febeb2aa10ddca22c1c9296c5223b.zip
Doxygen-b9ad9a03cf4febeb2aa10ddca22c1c9296c5223b.tar.gz
Doxygen-b9ad9a03cf4febeb2aa10ddca22c1c9296c5223b.tar.bz2
Bug 736992 - Member functions omitted from tagfile
Diffstat (limited to 'src/vhdldocgen.cpp')
-rw-r--r--src/vhdldocgen.cpp86
1 files changed, 42 insertions, 44 deletions
diff --git a/src/vhdldocgen.cpp b/src/vhdldocgen.cpp
index d575398..ddb4c4f 100644
--- a/src/vhdldocgen.cpp
+++ b/src/vhdldocgen.cpp
@@ -1950,6 +1950,48 @@ bool VhdlDocGen::writeVHDLTypeDocumentation(const MemberDef* mdef, const Definit
return hasParams;
}
+void VhdlDocGen::writeTagFile(MemberDef *mdef,FTextStream &tagFile)
+{
+ tagFile << " <member kind=\"";
+ if (VhdlDocGen::isGeneric(mdef)) tagFile << "generic";
+ if (VhdlDocGen::isPort(mdef)) tagFile << "port";
+ if (VhdlDocGen::isEntity(mdef)) tagFile << "entity";
+ if (VhdlDocGen::isComponent(mdef)) tagFile << "component";
+ if (VhdlDocGen::isVType(mdef)) tagFile << "type";
+ if (VhdlDocGen::isConstant(mdef)) tagFile << "constant";
+ if (VhdlDocGen::isSubType(mdef)) tagFile << "subtype";
+ if (VhdlDocGen::isVhdlFunction(mdef)) tagFile << "function";
+ if (VhdlDocGen::isProcedure(mdef)) tagFile << "procedure";
+ if (VhdlDocGen::isProcess(mdef)) tagFile << "process";
+ if (VhdlDocGen::isSignals(mdef)) tagFile << "signal";
+ if (VhdlDocGen::isAttribute(mdef)) tagFile << "attribute";
+ if (VhdlDocGen::isRecord(mdef)) tagFile << "record";
+ if (VhdlDocGen::isLibrary(mdef)) tagFile << "library";
+ if (VhdlDocGen::isPackage(mdef)) tagFile << "package";
+ if (VhdlDocGen::isVariable(mdef)) tagFile << "shared variable";
+ if (VhdlDocGen::isFile(mdef)) tagFile << "file";
+ if (VhdlDocGen::isGroup(mdef)) tagFile << "group";
+ if (VhdlDocGen::isCompInst(mdef)) tagFile << "instantiation";
+ if (VhdlDocGen::isAlias(mdef)) tagFile << "alias";
+ if (VhdlDocGen::isCompInst(mdef)) tagFile << "configuration";
+
+ tagFile << "\">" << endl;
+ tagFile << " <type>" << convertToXML(mdef->typeString()) << "</type>" << endl;
+ tagFile << " <name>" << convertToXML(mdef->name()) << "</name>" << endl;
+ tagFile << " <anchorfile>" << convertToXML(mdef->getOutputFileBase()+Doxygen::htmlFileExtension) << "</anchorfile>" << endl;
+ tagFile << " <anchor>" << convertToXML(mdef->anchor()) << "</anchor>" << endl;
+
+ if (VhdlDocGen::isVhdlFunction(mdef))
+ tagFile << " <arglist>" << convertToXML(VhdlDocGen::convertArgumentListToString(mdef->argumentList(),TRUE)) << "</arglist>" << endl;
+ else if (VhdlDocGen::isProcedure(mdef))
+ tagFile << " <arglist>" << convertToXML(VhdlDocGen::convertArgumentListToString(mdef->argumentList(),FALSE)) << "</arglist>" << endl;
+ else
+ tagFile << " <arglist>" << convertToXML(mdef->argsString()) << "</arglist>" << endl;
+
+ mdef->writeDocAnchorsToTagFile(tagFile);
+ tagFile << " </member>" << endl;
+}
+
/* writes a vhdl type declaration */
void VhdlDocGen::writeVHDLDeclaration(MemberDef* mdef,OutputList &ol,
@@ -1971,50 +2013,6 @@ void VhdlDocGen::writeVHDLDeclaration(MemberDef* mdef,OutputList &ol,
else if (gd) d=gd;
else d=(Definition*)mdef;
- // write tag file information of this member
- if (!Config_getString("GENERATE_TAGFILE").isEmpty())
- {
- Doxygen::tagFile << " <member kind=\"";
- if (VhdlDocGen::isGeneric(mdef)) Doxygen::tagFile << "generic";
- if (VhdlDocGen::isPort(mdef)) Doxygen::tagFile << "port";
- if (VhdlDocGen::isEntity(mdef)) Doxygen::tagFile << "entity";
- if (VhdlDocGen::isComponent(mdef)) Doxygen::tagFile << "component";
- if (VhdlDocGen::isVType(mdef)) Doxygen::tagFile << "type";
- if (VhdlDocGen::isConstant(mdef)) Doxygen::tagFile << "constant";
- if (VhdlDocGen::isSubType(mdef)) Doxygen::tagFile << "subtype";
- if (VhdlDocGen::isVhdlFunction(mdef)) Doxygen::tagFile << "function";
- if (VhdlDocGen::isProcedure(mdef)) Doxygen::tagFile << "procedure";
- if (VhdlDocGen::isProcess(mdef)) Doxygen::tagFile << "process";
- if (VhdlDocGen::isSignals(mdef)) Doxygen::tagFile << "signal";
- if (VhdlDocGen::isAttribute(mdef)) Doxygen::tagFile << "attribute";
- if (VhdlDocGen::isRecord(mdef)) Doxygen::tagFile << "record";
- if (VhdlDocGen::isLibrary(mdef)) Doxygen::tagFile << "library";
- if (VhdlDocGen::isPackage(mdef)) Doxygen::tagFile << "package";
- if (VhdlDocGen::isVariable(mdef)) Doxygen::tagFile << "shared variable";
- if (VhdlDocGen::isFile(mdef)) Doxygen::tagFile << "file";
- if (VhdlDocGen::isGroup(mdef)) Doxygen::tagFile << "group";
- if (VhdlDocGen::isCompInst(mdef)) Doxygen::tagFile << " instantiation";
- if (VhdlDocGen::isAlias(mdef)) Doxygen::tagFile << "alias";
- if (VhdlDocGen::isCompInst(mdef)) Doxygen::tagFile << "configuration";
-
- Doxygen::tagFile << "\">" << endl;
- Doxygen::tagFile << " <type>" << convertToXML(mdef->typeString()) << "</type>" << endl;
- Doxygen::tagFile << " <name>" << convertToXML(mdef->name()) << "</name>" << endl;
- Doxygen::tagFile << " <anchorfile>" << convertToXML(mdef->getOutputFileBase()+Doxygen::htmlFileExtension) << "</anchorfile>" << endl;
- Doxygen::tagFile << " <anchor>" << convertToXML(mdef->anchor()) << "</anchor>" << endl;
-
- if (VhdlDocGen::isVhdlFunction(mdef))
- Doxygen::tagFile << " <arglist>" << convertToXML(VhdlDocGen::convertArgumentListToString(mdef->argumentList(),TRUE)) << "</arglist>" << endl;
- else if (VhdlDocGen::isProcedure(mdef))
- Doxygen::tagFile << " <arglist>" << convertToXML(VhdlDocGen::convertArgumentListToString(mdef->argumentList(),FALSE)) << "</arglist>" << endl;
- else
- Doxygen::tagFile << " <arglist>" << convertToXML(mdef->argsString()) << "</arglist>" << endl;
-
- mdef->writeDocAnchorsToTagFile();
- Doxygen::tagFile << " </member>" << endl;
-
- }
-
// write search index info
if (Doxygen::searchIndex)
{