From 155bd0110585d401d0f898baf9c69b2ec46833ff Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sat, 8 Oct 2016 17:08:34 +0200 Subject: Bug 770973 - Tag file size double between each run --- src/doxygen.cpp | 2 +- src/memberdef.cpp | 2 +- 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()):""); + " new variable, nd=%s tagInfo=%p!\n",nd?qPrint(nd->name()):"",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 -- cgit v0.12