summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-06-07 10:29:34 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-06-07 10:29:34 (GMT)
commitef859cbf50b26457caee9bad26ed293951e70ce1 (patch)
tree24d065d83c66ec5adaed1305742631aa89a9dd00 /src/classdef.cpp
parente773e6cb9e117621e06fb81098d33417e8a97720 (diff)
downloadDoxygen-ef859cbf50b26457caee9bad26ed293951e70ce1.zip
Doxygen-ef859cbf50b26457caee9bad26ed293951e70ce1.tar.gz
Doxygen-ef859cbf50b26457caee9bad26ed293951e70ce1.tar.bz2
Consistency not generated inheritance diagram
Also warn when an inheritance diagram is not generated. Corrected "dead" code in if statement
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 8f04505..f7abbe4 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -1718,7 +1718,11 @@ void ClassDefImpl::writeInheritanceGraph(OutputList &ol) const
// write class diagram using dot
{
DotClassGraph inheritanceGraph(this,DotNode::Inheritance);
- if (!inheritanceGraph.isTrivial() && !inheritanceGraph.isTooBig())
+ if (inheritanceGraph.isTooBig())
+ {
+ warn_uncond("Inheritance graph for '%s' not generated, too many nodes. Consider increasing DOT_GRAPH_MAX_NODES.\n",name().data());
+ }
+ else if (!inheritanceGraph.isTrivial())
{
ol.pushGeneratorState();
ol.disable(OutputGenerator::Man);