summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-11-22 18:22:28 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-11-22 18:22:28 (GMT)
commit7a2164d252a0cb5410ab13b0ca1611a8e94e3c99 (patch)
tree6b1f876c934f088d1601ff2e179a61998fecd35e /src/memberdef.cpp
parent40897d59939828ea07c591d83e9c2b4d2a00f43a (diff)
downloadDoxygen-7a2164d252a0cb5410ab13b0ca1611a8e94e3c99.zip
Doxygen-7a2164d252a0cb5410ab13b0ca1611a8e94e3c99.tar.gz
Doxygen-7a2164d252a0cb5410ab13b0ca1611a8e94e3c99.tar.bz2
Bug 758132 - Brief description of non documented functions
In case a function or an other item is not documented and EXTRACT_ALL has not been specified it should not appear in the list with brief description of functions etc. (This patch supersedes the patch as proposed in pull request 411 based on the comments from Dimitri van Heesch)
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index a8e2692..c99bf3c 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -1422,6 +1422,7 @@ void MemberDef::writeDeclaration(OutputList &ol,
Definition *d=0;
ASSERT (cd!=0 || nd!=0 || fd!=0 || gd!=0); // member should belong to something
if (cd) d=cd; else if (nd) d=nd; else if (fd) d=fd; else d=gd;
+ if (!hasDocumentation()) return;
//_writeTagData(compoundType);
_addToSearchIndex();