diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-10-20 18:23:06 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-10-20 18:23:06 (GMT) |
commit | dc404b516e366ca10ad325d399ef0bd47d065863 (patch) | |
tree | 63a7ba72ad4f8318f818aebfef29beee5811c241 /src/memberdef.cpp | |
parent | 6bc4cd0ea321e784be64022fea5013e1b181a593 (diff) | |
download | Doxygen-dc404b516e366ca10ad325d399ef0bd47d065863.zip Doxygen-dc404b516e366ca10ad325d399ef0bd47d065863.tar.gz Doxygen-dc404b516e366ca10ad325d399ef0bd47d065863.tar.bz2 |
Release-1.2.18-20021020
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r-- | src/memberdef.cpp | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp index 9c38344..7e2e454 100644 --- a/src/memberdef.cpp +++ b/src/memberdef.cpp @@ -262,7 +262,8 @@ MemberDef::MemberDef(const char *df,int dl, const ArgumentList *tal,const ArgumentList *al ) : Definition(df,dl,na) { - //printf("++++++ MemberDef(%s file=%s,line=%d static=%d) ++++++ \n",na,df,dl,s); + //printf("++++++ MemberDef(%s file=%s,line=%d static=%d) ++++++ \n", + // na,df,dl,s); classDef=0; fileDef=0; redefines=0; @@ -345,6 +346,7 @@ MemberDef::MemberDef(const char *df,int dl, defArgList->constSpecifier = al->constSpecifier; defArgList->volatileSpecifier = al->volatileSpecifier; defArgList->pureSpecifier = al->pureSpecifier; + //printf("defArgList(%p)->constSpecifier=%d\n",defArgList,defArgList->constSpecifier); } else { @@ -355,6 +357,8 @@ MemberDef::MemberDef(const char *df,int dl, { declArgList = new ArgumentList; stringToArgumentList(args,declArgList); + //printf("setDeclArgList %s to %p const=%d\n",args.data(), + // declArgList,declArgList->constSpecifier); } else { @@ -1922,3 +1926,13 @@ void MemberDef::writeEnumDeclaration(OutputList &typeDecl, } } +void MemberDef::setArgumentList(ArgumentList *al) +{ + if (defArgList) delete defArgList; + defArgList = al; +} +void MemberDef::setDeclArgumentList(ArgumentList *al) +{ + if (declArgList) delete declArgList; + declArgList = al; +} |