Skip to content

Commit

Permalink
issue #9241 Undocumented external namespaces from .tags files are sho…
Browse files Browse the repository at this point in the history
…wn in output Namespace index

Namespace references from tag files should not appear in the namespace list.
  • Loading branch information
albert-github committed Apr 1, 2022
1 parent 91095fb commit 27dcc1c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1708,7 +1708,10 @@ static void writeNamespaceTree(const NamespaceLinkedRefMap &nsLinkedMap,FTVHelp
{
for (const auto &nd : nsLinkedMap)
{
writeNamespaceTreeElement(nd,ftv,rootOnly,addToIndex);
if (nd->isLinkableInProject())
{
writeNamespaceTreeElement(nd,ftv,rootOnly,addToIndex);
}
}
}

Expand All @@ -1717,7 +1720,10 @@ static void writeNamespaceTree(const NamespaceLinkedMap &nsLinkedMap,FTVHelp *ft
{
for (const auto &nd : nsLinkedMap)
{
writeNamespaceTreeElement(nd.get(),ftv,rootOnly,addToIndex);
if (nd->isLinkableInProject())
{
writeNamespaceTreeElement(nd.get(),ftv,rootOnly,addToIndex);
}
}
}

Expand Down

0 comments on commit 27dcc1c

Please sign in to comment.