diff options
author | albert-github <albert.tests@gmail.com> | 2019-06-07 10:29:34 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-06-07 10:29:34 (GMT) |
commit | ef859cbf50b26457caee9bad26ed293951e70ce1 (patch) | |
tree | 24d065d83c66ec5adaed1305742631aa89a9dd00 /src | |
parent | e773e6cb9e117621e06fb81098d33417e8a97720 (diff) | |
download | Doxygen-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')
-rw-r--r-- | src/classdef.cpp | 6 | ||||
-rw-r--r-- | src/memberdef.cpp | 2 |
2 files changed, 6 insertions, 2 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); diff --git a/src/memberdef.cpp b/src/memberdef.cpp index 3442229..912d7b2 100644 --- a/src/memberdef.cpp +++ b/src/memberdef.cpp @@ -2945,7 +2945,7 @@ void MemberDefImpl::_writeCallerGraph(OutputList &ol) const { warn_uncond("Caller graph for '%s' not generated, too many nodes. Consider increasing DOT_GRAPH_MAX_NODES.\n",qPrint(qualifiedName())); } - else if (!callerGraph.isTrivial() && !callerGraph.isTooBig()) + else if (!callerGraph.isTrivial()) { msg("Generating caller graph for function %s\n",qPrint(qualifiedName())); ol.disable(OutputGenerator::Man); |