diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-10-05 18:06:58 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-10-05 18:06:58 (GMT) |
commit | 89f2e4c8f026df987fab492c050e43011ef96871 (patch) | |
tree | 71b1f69fb092055eb6cb12c050b73c5ff04afd85 /src/doxygen.cpp | |
parent | b7473cd86e57053b866a719f160cd4d01e92f092 (diff) | |
download | Doxygen-89f2e4c8f026df987fab492c050e43011ef96871.zip Doxygen-89f2e4c8f026df987fab492c050e43011ef96871.tar.gz Doxygen-89f2e4c8f026df987fab492c050e43011ef96871.tar.bz2 |
Release-1.3.9
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 6419935..00d4dde 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -4453,6 +4453,20 @@ static void findMember(Entry *root, } scopeName=stripTemplateSpecifiersFromScope( removeRedundantWhiteSpace(scopeName),FALSE,&funcSpec); + + // funcSpec contains the last template specifiers of the given scope. + // If this method does not have any template arguments or they are + // empty while funcSpec is not empty we assume this is a + // specialization of a method. If not, we clear the funcSpec and treat + // this as a normal method of a template class. + if (!(root->tArgLists && + root->tArgLists->count()>0 && + root->tArgLists->first()->count()==0 + ) + ) + { + funcSpec.resize(0); + } // split scope into a namespace and a class part extractNamespaceName(scopeName,className,namespaceName,TRUE); @@ -4897,7 +4911,7 @@ static void findMember(Entry *root, } else { - //printf("Specialized member %s of unknown scope %s%s found!\n", + //printf("*** Specialized member %s of unknown scope %s%s found!\n", // scopeName.data(),funcName.data(),funcArgs.data()); } } |