summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-03-15 15:50:07 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-03-15 15:50:07 (GMT)
commit941eea998d6b9608b8fc586069ef90e805d771f5 (patch)
tree84b206b6d9fdcb807f7b4dade976c68035b34ed9 /src/dot.cpp
parentc1e25238950492e7f8a5c996e3d3ad41b9b023b0 (diff)
downloadDoxygen-941eea998d6b9608b8fc586069ef90e805d771f5.zip
Doxygen-941eea998d6b9608b8fc586069ef90e805d771f5.tar.gz
Doxygen-941eea998d6b9608b8fc586069ef90e805d771f5.tar.bz2
Some restructuring and some compiler warning fixes
Diffstat (limited to 'src/dot.cpp')
-rw-r--r--src/dot.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index ea41685..a1540af 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -2462,8 +2462,12 @@ void DotGfxHierarchyTable::addClassList(ClassSDict *cl)
for (cli.toLast();(cd=cli.current());--cli)
{
//printf("Trying %s subClasses=%d\n",cd->name().data(),cd->subClasses()->count());
- if (cd->getLanguage()==SrcLangExt_VHDL && !(VhdlDocGen::VhdlClasses)cd->protection()==VhdlDocGen::ENTITYCLASS)
- continue;
+ if (cd->getLanguage()==SrcLangExt_VHDL &&
+ (VhdlDocGen::VhdlClasses)cd->protection()!=VhdlDocGen::ENTITYCLASS
+ )
+ {
+ continue;
+ }
if (!hasVisibleRoot(cd->baseClasses()) &&
cd->isVisibleInHierarchy()
) // root node in the forest