diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-06-16 19:11:22 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-06-16 19:11:22 (GMT) |
commit | 21178ab40160abf011fa084a10892b5b7821e44c (patch) | |
tree | 9ead1d7a97ec1f37cd48ff2ad32906d3bade24f9 /src/classlist.cpp | |
parent | 0921dea6f50b31b217cb70a6c1e2327a17591b5f (diff) | |
download | Doxygen-21178ab40160abf011fa084a10892b5b7821e44c.zip Doxygen-21178ab40160abf011fa084a10892b5b7821e44c.tar.gz Doxygen-21178ab40160abf011fa084a10892b5b7821e44c.tar.bz2 |
Bug 730520 - No documentation generated for method-less C++ struct
Diffstat (limited to 'src/classlist.cpp')
-rw-r--r-- | src/classlist.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/classlist.cpp b/src/classlist.cpp index 5751356..6615a99 100644 --- a/src/classlist.cpp +++ b/src/classlist.cpp @@ -24,6 +24,7 @@ #include "vhdldocgen.h" #include "defargs.h" #include "arguments.h" +#include "groupdef.h" ClassList::ClassList() : QList<ClassDef>() { @@ -131,21 +132,17 @@ void ClassSDict::writeDocumentation(OutputList &ol,Definition * container) ClassDef *cd=0; for (sdi.toFirst();(cd=sdi.current());++sdi) { - //printf("%s:writeDocumentation() %p embedded=%d container=%p\n", - // cd->name().data(),cd->getOuterScope(),cd->isEmbeddedInOuterScope(), - // container); + //printf("%s:writeDocumentation() %p linkable=%d embedded=%d container=%p partOfGroups=%d\n", + // cd->name().data(),cd->getOuterScope(),cd->isLinkableInProject(),cd->isEmbeddedInOuterScope(), + // container,cd->partOfGroups() ? cd->partOfGroups()->count() : 0); if (cd->name().find('@')==-1 && cd->isLinkableInProject() && cd->isEmbeddedInOuterScope() && (container==0 || cd->partOfGroups()==0) // if container==0 -> show as part of the group docs, otherwise only show if not part of a group - //&& - //(container==0 || // no container -> used for groups - // cd->getOuterScope()==container || // correct container -> used for namespaces and classes - // (container->definitionType()==Definition::TypeFile && cd->getOuterScope()==Doxygen::globalScope && cd->partOfGroups()==0) // non grouped class with file scope -> used for files - //) ) { + //printf(" showing class %s\n",cd->name().data()); if (!found) { ol.writeRuler(); |