Skip to content

Commit 42d60bd

Browse files
committed
issue 8143: copydoc in excluded namespace broken after d03e8d9
1 parent 72bdd6d commit 42d60bd

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/doxygen.cpp

+12-2
Original file line numberDiff line numberDiff line change
@@ -7810,11 +7810,21 @@ static void sortMemberLists()
78107810

78117811
//----------------------------------------------------------------------------
78127812

7813-
void computeTooltipTexts()
7813+
static bool isSymbolHidden(const Definition *d)
7814+
{
7815+
bool hidden = d->isHidden();
7816+
const Definition *parent = d->getOuterScope();
7817+
return parent ? hidden || isSymbolHidden(parent) : hidden;
7818+
}
7819+
7820+
static void computeTooltipTexts()
78147821
{
78157822
for (const auto &kv : Doxygen::symbolMap)
78167823
{
7817-
kv.second->computeTooltip();
7824+
if (!isSymbolHidden(kv.second))
7825+
{
7826+
kv.second->computeTooltip();
7827+
}
78187828
}
78197829
}
78207830

0 commit comments

Comments
 (0)