Skip to content

Commit

Permalink
#6181: Skip hidden decls in DeclarationTreePopulator
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Dec 30, 2022
1 parent e6304ab commit 03d4e98
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libs/wxutil/dataview/ThreadedDeclarationTreePopulator.h
Expand Up @@ -72,6 +72,11 @@ class ThreadedDeclarationTreePopulator :
{
ThrowIfCancellationRequested();

if (decl->getBlockSyntax().fileInfo.visibility == vfs::Visibility::HIDDEN)
{
return; // skip hidden declarations
}

auto fullPath = GenerateFullDeclPath(decl);

// Sort the decl into the tree and set the values
Expand Down

0 comments on commit 03d4e98

Please sign in to comment.