summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-06-03 12:36:19 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-06-03 12:36:19 (GMT)
commitbf19958a28329f21c92503247ad8d199b080f47b (patch)
tree56e8e53dec65391adf5b95206613d99683c1e913
parent54e7af6b0e7cf2063c86981c4dca7fcb8eca746a (diff)
downloadDoxygen-bf19958a28329f21c92503247ad8d199b080f47b.zip
Doxygen-bf19958a28329f21c92503247ad8d199b080f47b.tar.gz
Doxygen-bf19958a28329f21c92503247ad8d199b080f47b.tar.bz2
Doxygen crash on ceph project
When running doxygen (master) on the ceph project (https://github.com/ceph/ceph/archive/v15.0.0.tar.gz) doxygen crashes with what looks like an endless loop. Seen the code: ``` virtual int countMemberDeclarations(MemberListType lt,const ClassDef *inheritedFrom, int lt2,bool invert,bool showAlways,QPtrDict<void> *visitedClasses) const { return countMemberDeclarations(lt,inheritedFrom,lt2,invert,showAlways,visitedClasses); } ``` and the above code, it looks like the fix might be: ``` virtual int countMemberDeclarations(MemberListType lt,const ClassDef *inheritedFrom, int lt2,bool invert,bool showAlways,QPtrDict<void> *visitedClasses) const { return getCdAlias()->countMemberDeclarations(lt,inheritedFrom,lt2,invert,showAlways,visitedClasses); } ```
-rw-r--r--src/classdef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 3a680c5..8f04505 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -516,7 +516,7 @@ class ClassDefAliasImpl : public DefinitionAliasImpl, public ClassDef
{ return getCdAlias()->countInheritanceNodes(); }
virtual int countMemberDeclarations(MemberListType lt,const ClassDef *inheritedFrom,
int lt2,bool invert,bool showAlways,QPtrDict<void> *visitedClasses) const
- { return countMemberDeclarations(lt,inheritedFrom,lt2,invert,showAlways,visitedClasses); }
+ { return getCdAlias()->countMemberDeclarations(lt,inheritedFrom,lt2,invert,showAlways,visitedClasses); }
virtual void writeMemberDeclarations(OutputList &ol,MemberListType lt,const QCString &title,
const char *subTitle=0,bool showInline=FALSE,const ClassDef *inheritedFrom=0,
int lt2=-1,bool invert=FALSE,bool showAlways=FALSE,