summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-10-08 15:08:34 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-10-08 15:08:34 (GMT)
commit155bd0110585d401d0f898baf9c69b2ec46833ff (patch)
tree1b869c0ac3ee648b5ebafdcee6bc22e79544ae4f
parentd4c24c28ffcf7143bcdfecee1c8b55f704274d37 (diff)
downloadDoxygen-155bd0110585d401d0f898baf9c69b2ec46833ff.zip
Doxygen-155bd0110585d401d0f898baf9c69b2ec46833ff.tar.gz
Doxygen-155bd0110585d401d0f898baf9c69b2ec46833ff.tar.bz2
Bug 770973 - Tag file size double between each run
-rw-r--r--src/doxygen.cpp2
-rw-r--r--src/memberdef.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 8e97b4e..4b88a02 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -2592,7 +2592,7 @@ static MemberDef *addVariableToFile(
}
Debug::print(Debug::Variables,0,
- " new variable, nd=%s!\n",nd?qPrint(nd->name()):"<global>");
+ " new variable, nd=%s tagInfo=%p!\n",nd?qPrint(nd->name()):"<global>",rootNav->tagInfo());
// new global variable, enum value or typedef
MemberDef *md=new MemberDef(
fileName,root->startLine,root->startColumn,
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 05f8c94..8f1573c 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -1082,7 +1082,7 @@ void MemberDef::_computeLinkableInProject()
m_isLinkableCached = 1; // not a valid or a dummy name
return;
}
- if (!hasDocumentation() && !isReference())
+ if (!hasDocumentation() || isReference())
{
//printf("no docs or reference\n");
m_isLinkableCached = 1; // no documentation