Permalink
Browse files

Fix missing brief documentation for overload and specialization funct…

…ions

Brief documentation entries were not added for template specializations or
overload definitions. Adding brief documentation to those function definations
fixes a corner case bug #406027

Bug 406027 - Templated class member specialization cannot be documented
  • Loading branch information...
suokko committed Mar 29, 2015
1 parent 9d631b5 commit c604aef8a6465f38f8f04276194a66a4e044dc84
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/doxygen.cpp
@@ -6427,6 +6427,7 @@ static void findMember(EntryNav *rootNav,
md->enableCallGraph(root->callGraph);
md->enableCallerGraph(root->callerGraph);
md->setDocumentation(root->doc,root->docFile,root->docLine);
md->setBriefDescription(root->brief,root->briefFile,root->briefLine);
md->setInbodyDocumentation(root->inbodyDocs,root->inbodyFile,root->inbodyLine);
md->setDocsForDefinition(!root->proto);
md->setPrototype(root->proto);
@@ -6494,6 +6495,7 @@ static void findMember(EntryNav *rootNav,
doc+="<p>";
doc+=root->doc;
md->setDocumentation(doc,root->docFile,root->docLine);
md->setBriefDescription(root->brief,root->briefFile,root->briefLine);
md->setInbodyDocumentation(root->inbodyDocs,root->inbodyFile,root->inbodyLine);
md->setDocsForDefinition(!root->proto);
md->setPrototype(root->proto);

0 comments on commit c604aef

Please sign in to comment.