summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-05-15 19:29:48 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-05-15 19:29:48 (GMT)
commit9dad94dc6d3cb528cc7650cf07418a83ed551bdd (patch)
tree1b384783ba4eb8acb2bf41b4c15e2af354eb991d /src/doxygen.cpp
parente60c6cfe40a979a5ad247a6f03c9ea3739261657 (diff)
downloadDoxygen-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/doxygen.cpp')
-rw-r--r--src/doxygen.cpp6
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;
}