summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/doxygen.cpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 868425b..4cbdfc3 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -7810,11 +7810,21 @@ static void sortMemberLists()
//----------------------------------------------------------------------------
-void computeTooltipTexts()
+static bool isSymbolHidden(const Definition *d)
+{
+ bool hidden = d->isHidden();
+ const Definition *parent = d->getOuterScope();
+ return parent ? hidden || isSymbolHidden(parent) : hidden;
+}
+
+static void computeTooltipTexts()
{
for (const auto &kv : Doxygen::symbolMap)
{
- kv.second->computeTooltip();
+ if (!isSymbolHidden(kv.second))
+ {
+ kv.second->computeTooltip();
+ }
}
}