diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-12-19 20:20:37 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-12-19 20:20:37 (GMT) |
commit | 0d1ddb78bd5f2290abd16219852ff21b3d8a395c (patch) | |
tree | db6cd593b219fcdd2f770b42b3acfd2a57ac6827 /src | |
parent | ab0bab6c7435c2adc8d7b3fdcc02ce8ee3fab312 (diff) | |
download | Doxygen-0d1ddb78bd5f2290abd16219852ff21b3d8a395c.zip Doxygen-0d1ddb78bd5f2290abd16219852ff21b3d8a395c.tar.gz Doxygen-0d1ddb78bd5f2290abd16219852ff21b3d8a395c.tar.bz2 |
Removed unused taggedInnerClasses member
Diffstat (limited to 'src')
-rw-r--r-- | src/classdef.cpp | 21 | ||||
-rw-r--r-- | src/classdef.h | 2 | ||||
-rw-r--r-- | src/doxygen.cpp | 1 |
3 files changed, 0 insertions, 24 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp index f0d84ee..a1c9287 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -236,7 +236,6 @@ class ClassDefImpl : public DefinitionMixin<ClassDefMutable> virtual QCString anchor() const; virtual bool isEmbeddedInOuterScope() const; virtual bool isSimple() const; - virtual const ClassList *taggedInnerClasses() const; virtual const ClassDef *tagLessReference() const; virtual MemberDef *isSmartPointer() const; virtual bool isJavaEnum() const; @@ -281,7 +280,6 @@ class ClassDefImpl : public DefinitionMixin<ClassDefMutable> virtual void makeTemplateArgument(bool b=TRUE); virtual void setCategoryOf(ClassDef *cd); virtual void setUsedOnly(bool b); - virtual void addTaggedInnerClass(ClassDef *cd); virtual void setTagLessReference(const ClassDef *cd); virtual void setName(const char *name); virtual void setMetaData(const char *md); @@ -518,8 +516,6 @@ class ClassDefAliasImpl : public DefinitionAliasMixin<ClassDef> { return getCdAlias()->isEmbeddedInOuterScope(); } virtual bool isSimple() const { return getCdAlias()->isSimple(); } - virtual const ClassList *taggedInnerClasses() const - { return getCdAlias()->taggedInnerClasses(); } virtual const ClassDef *tagLessReference() const { return getCdAlias()->tagLessReference(); } virtual MemberDef *isSmartPointer() const @@ -724,7 +720,6 @@ class ClassDefImpl::IMPL /** Does this class overloaded the -> operator? */ MemberDef *arrowOperator = 0; - ClassList *taggedInnerClasses = 0; const ClassDef *tagLessRef = 0; /** Does this class represent a Java style enum? */ @@ -771,7 +766,6 @@ void ClassDefImpl::IMPL::init(const char *defFileName, const char *name, usedOnly = FALSE; isSimple = Config_getBool(INLINE_SIMPLE_STRUCTS); arrowOperator = 0; - taggedInnerClasses = 0; tagLessRef = 0; spec=0; //QCString ns; @@ -809,7 +803,6 @@ ClassDefImpl::IMPL::~IMPL() delete templateInstances; delete variableInstances; delete templBaseClassNames; - delete taggedInnerClasses; } //------------------------------------------------------------------------------------------- @@ -5002,20 +4995,6 @@ bool ClassDefImpl::isEmbeddedInOuterScope() const return b1 || b2; // either reason will do } -const ClassList *ClassDefImpl::taggedInnerClasses() const -{ - return m_impl->taggedInnerClasses; -} - -void ClassDefImpl::addTaggedInnerClass(ClassDef *cd) -{ - if (m_impl->taggedInnerClasses==0) - { - m_impl->taggedInnerClasses = new ClassList; - } - m_impl->taggedInnerClasses->append(cd); -} - const ClassDef *ClassDefImpl::tagLessReference() const { return m_impl->tagLessRef; diff --git a/src/classdef.h b/src/classdef.h index 9cd0426..6d2bbef 100644 --- a/src/classdef.h +++ b/src/classdef.h @@ -334,7 +334,6 @@ class ClassDef : public Definition virtual bool isSimple() const = 0; - virtual const ClassList *taggedInnerClasses() const = 0; virtual const ClassDef *tagLessReference() const = 0; virtual MemberDef *isSmartPointer() const = 0; @@ -413,7 +412,6 @@ class ClassDefMutable : public DefinitionMutable, public ClassDef virtual void insertMember(MemberDef *) = 0; virtual void insertUsedFile(FileDef *) = 0; virtual void addMembersToTemplateInstance(const ClassDef *cd,const char *templSpec) = 0; - virtual void addTaggedInnerClass(ClassDef *cd) = 0; virtual void addInnerCompound(const Definition *d) = 0; virtual bool addExample(const char *anchor,const char *name, const char *file) = 0; virtual void addUsedClass(ClassDef *cd,const char *accessName,Protection prot) = 0; diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 4d2aa80..52cd4ac 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -1417,7 +1417,6 @@ static void processTagLessClasses(const ClassDef *rootCd, ClassDefMutable *ncd = createTagLessInstance(rootCd,icd,name); processTagLessClasses(rootCd,icd,ncd,name,count+1); //printf(" addTagged %s to %s\n",ncd->name().data(),tagParentCd->name().data()); - tagParentCd->addTaggedInnerClass(ncd); ncd->setTagLessReference(icd); // replace tag-less type for generated/original member |