summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-05-10 17:14:20 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-05-10 17:14:20 (GMT)
commit2a8f06020242c919961da08dcfdb46095306cf94 (patch)
tree4e37b1a19084677af3b24d69ba837504b2f62e8f /src/memberdef.cpp
parent9a8bf5711e7bc603922a342447e27a81170b965a (diff)
downloadDoxygen-2a8f06020242c919961da08dcfdb46095306cf94.zip
Doxygen-2a8f06020242c919961da08dcfdb46095306cf94.tar.gz
Doxygen-2a8f06020242c919961da08dcfdb46095306cf94.tar.bz2
issue #6979 Method parameters documented inline are not present in documentation of overriding/implementing methods
Not only the name of the argument should be copied but also the documentation (this routine is only used for reimplemented members).
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index cd3cc46..3442229 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -5929,6 +5929,7 @@ void MemberDefImpl::copyArgumentNames(MemberDef *bmd)
for (;(argDst=aliDst.current()) && (argSrc=aliSrc.current());++aliDst,++aliSrc)
{
argDst->name = argSrc->name;
+ argDst->docs = argSrc->docs;
}
}
}
@@ -5943,6 +5944,7 @@ void MemberDefImpl::copyArgumentNames(MemberDef *bmd)
for (;(argDst=aliDst.current()) && (argSrc=aliSrc.current());++aliDst,++aliSrc)
{
argDst->name = argSrc->name;
+ argDst->docs = argSrc->docs;
}
}
}