diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-01-21 20:33:58 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-01-21 20:33:58 (GMT) |
commit | 924cc02d8b7439551508a6301a3b9c762fd2d1bc (patch) | |
tree | 5afdd71b04782efe382079329db50e419030e243 /src | |
parent | 7de60f78e7ffdd01cc95be85d8c86bf2b56feaba (diff) | |
download | Doxygen-924cc02d8b7439551508a6301a3b9c762fd2d1bc.zip Doxygen-924cc02d8b7439551508a6301a3b9c762fd2d1bc.tar.gz Doxygen-924cc02d8b7439551508a6301a3b9c762fd2d1bc.tar.bz2 |
Remove dead code
Diffstat (limited to 'src')
-rw-r--r-- | src/code.l | 16 | ||||
-rw-r--r-- | src/memberdef.cpp | 11 | ||||
-rw-r--r-- | src/memberdef.h | 5 |
3 files changed, 0 insertions, 32 deletions
@@ -2473,10 +2473,6 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" BEGIN(FuncCall); } <Body>{FLOWCONDITION}/{BN}*"(" { - if (g_currentMemberDef && g_currentMemberDef->isFunction()) - { - g_currentMemberDef->addFlowKeyWord(); - } startFontClass("keywordflow"); codifyLines(yytext); endFontClass(); @@ -2494,10 +2490,6 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" } } <Body>{FLOWCONDITION}/([^a-z_A-Z0-9]) { - if (g_currentMemberDef && g_currentMemberDef->isFunction()) - { - g_currentMemberDef->addFlowKeyWord(); - } startFontClass("keywordflow"); codifyLines(yytext); endFontClass(); @@ -2512,10 +2504,6 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" endFontClass(); } <Body>{FLOWCONDITION}/{B}* { - if (g_currentMemberDef && g_currentMemberDef->isFunction()) - { - g_currentMemberDef->addFlowKeyWord(); - } startFontClass("keywordflow"); codifyLines(yytext); endFontClass(); @@ -3051,10 +3039,6 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" endFontClass(); } <MemberCall2,FuncCall>{FLOWCONDITION}/([^a-z_A-Z0-9]) { - if (g_currentMemberDef && g_currentMemberDef->isFunction()) - { - g_currentMemberDef->addFlowKeyWord(); - } addParmType(); g_parmName=yytext; startFontClass("keywordflow"); diff --git a/src/memberdef.cpp b/src/memberdef.cpp index 6f449d5..793a56b 100644 --- a/src/memberdef.cpp +++ b/src/memberdef.cpp @@ -772,7 +772,6 @@ MemberDef::MemberDef(const char *df,int dl,int dc, //printf("MemberDef::MemberDef(%s)\n",na); m_impl = new MemberDefImpl; m_impl->init(this,t,a,e,p,v,s,r,mt,tal,al,meta); - number_of_flowkw = 1; m_isLinkableCached = 0; m_isConstructorCached = 0; m_isDestructorCached = 0; @@ -5065,16 +5064,6 @@ void MemberDef::invalidateCachedArgumentTypes() invalidateCachedTypesInArgumentList(m_impl->declArgList); } -void MemberDef::addFlowKeyWord() -{ - number_of_flowkw++; -} - -int MemberDef::numberOfFlowKeyWords() -{ - return number_of_flowkw; -} - //---------------- QCString MemberDef::displayName(bool) const diff --git a/src/memberdef.h b/src/memberdef.h index ac54307..d96b9c9 100644 --- a/src/memberdef.h +++ b/src/memberdef.h @@ -182,7 +182,6 @@ class MemberDef : public Definition bool isSliceLocal() const; bool isConstExpr() const; - int numberOfFlowKeyWords(); // derived getters bool isFriendToHide() const; bool isNotFriend() const; @@ -283,8 +282,6 @@ class MemberDef : public Definition // ---- setters ----- //----------------------------------------------------------------------------------- - void addFlowKeyWord(); - // set functions void setMemberType(MemberType t); void setDefinition(const char *d); @@ -442,8 +439,6 @@ class MemberDef : public Definition static int s_indentLevel; - int number_of_flowkw; - // disable copying of member defs MemberDef(const MemberDef &); MemberDef &operator=(const MemberDef &); |