diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-10-05 18:06:58 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-10-05 18:06:58 (GMT) |
commit | deb9b8d40d7ac7d0c576ac9401aaed9e21ccdc58 (patch) | |
tree | 71b1f69fb092055eb6cb12c050b73c5ff04afd85 /src/doxygen.cpp | |
parent | f08cd6363f5da22b2452d4f937fef68220fcb081 (diff) | |
download | Doxygen-deb9b8d40d7ac7d0c576ac9401aaed9e21ccdc58.zip Doxygen-deb9b8d40d7ac7d0c576ac9401aaed9e21ccdc58.tar.gz Doxygen-deb9b8d40d7ac7d0c576ac9401aaed9e21ccdc58.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()); } } |