summaryrefslogtreecommitdiffstats
path: root/src/classlist.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-11-05 18:49:17 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-11-05 18:49:17 (GMT)
commitb32afdbd35624376000aaf12d09930e311692c53 (patch)
treeb7d34cb2a860b2994ae597c33888042585d91008 /src/classlist.cpp
parentcc4675afcc5f6825b9302fd0915c0c4148f555ab (diff)
downloadDoxygen-b32afdbd35624376000aaf12d09930e311692c53.zip
Doxygen-b32afdbd35624376000aaf12d09930e311692c53.tar.gz
Doxygen-b32afdbd35624376000aaf12d09930e311692c53.tar.bz2
issue #7302: Determination of anonymous is too restrictive
Diffstat (limited to 'src/classlist.cpp')
-rw-r--r--src/classlist.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/classlist.cpp b/src/classlist.cpp
index 6928c52..2b284b1 100644
--- a/src/classlist.cpp
+++ b/src/classlist.cpp
@@ -72,7 +72,7 @@ bool ClassSDict::declVisible(const ClassDef::CompoundType *filter) const
ClassDef *cd=0;
for (sdi.toFirst();(cd=sdi.current());++sdi)
{
- if (cd->name().find('@')==-1 &&
+ if (!cd->isAnonymous() &&
(filter==0 || *filter==cd->compoundType())
)
{
@@ -103,7 +103,7 @@ void ClassSDict::writeDeclaration(OutputList &ol,const ClassDef::CompoundType *f
for (sdi.toFirst();(cd=sdi.current());++sdi)
{
//printf(" ClassSDict::writeDeclaration for %s\n",cd->name().data());
- if (cd->name().find('@')==-1 &&
+ if (!cd->isAnonymous() &&
!cd->isExtension() &&
(cd->protection()!=Private || extractPrivate) &&
(filter==0 || *filter==cd->compoundType())
@@ -137,7 +137,7 @@ void ClassSDict::writeDocumentation(OutputList &ol,const Definition * container)
// cd->name().data(),cd->getOuterScope(),cd->isLinkableInProject(),cd->isEmbeddedInOuterScope(),
// container,cd->partOfGroups() ? cd->partOfGroups()->count() : 0);
- if (cd->name().find('@')==-1 &&
+ if (!cd->isAnonymous() &&
cd->isLinkableInProject() &&
cd->isEmbeddedInOuterScope() &&
!cd->isAlias() &&