diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-05-15 19:29:48 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-05-15 19:29:48 (GMT) |
commit | 9dad94dc6d3cb528cc7650cf07418a83ed551bdd (patch) | |
tree | 1b384783ba4eb8acb2bf41b4c15e2af354eb991d /src | |
parent | e60c6cfe40a979a5ad247a6f03c9ea3739261657 (diff) | |
download | Doxygen-9dad94dc6d3cb528cc7650cf07418a83ed551bdd.zip Doxygen-9dad94dc6d3cb528cc7650cf07418a83ed551bdd.tar.gz Doxygen-9dad94dc6d3cb528cc7650cf07418a83ed551bdd.tar.bz2 |
issue 6986: C++ static template methods: duplication as non-static and specialization
Diffstat (limited to 'src')
-rw-r--r-- | src/doxygen.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index dd32a8e..3a56ff2 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -6291,6 +6291,8 @@ static void findMember(Entry *root, // TODO: copy other aspects? root->protection=md->protection(); // copy protection level + root->stat=md->isStatic(); + root->virt=md->virtualness(); addMethodToClass(root,cd,md->name(),isFriend); return; } @@ -6334,6 +6336,10 @@ static void findMember(Entry *root, if (root->tArgLists && templAl!=0 && root->tArgLists->getLast()->count()<=templAl->count()) { + Debug::print(Debug::FindMembers,0,"7. add template specialization\n"); + root->protection=md->protection(); + root->stat=md->isStatic(); + root->virt=md->virtualness(); addMethodToClass(root,ccd,md->name(),isFriend); return; } |