[clang-tools-extra] Symbol tags in SymbolInformation, WorkspaceSymbol, CallHierarchyItem and TypeHierarchyItem (PR #170103)

Dimitri Ratz via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 14 06:28:20 PDT 2026


================
@@ -1872,6 +1873,7 @@ static std::optional<HierarchyItem> symbolToHierarchyItem(const Symbol &S,
   HI.name = std::string(S.Name);
   HI.detail = (S.Scope + S.Name).str();
   HI.kind = indexSymbolKindToSymbolKind(S.SymInfo);
+  HI.tags = expandTagBitmask(S.Tags);
----------------
ratzdi wrote:

The suggested change is suspicious, but the comment provides an important clue. The filtered tags are now stored in the index.

https://github.com/llvm/llvm-project/pull/170103


More information about the cfe-commits mailing list