From 2a8f06020242c919961da08dcfdb46095306cf94 Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 10 May 2019 19:14:20 +0200 Subject: 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). --- src/memberdef.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; } } } -- cgit v0.12