[clang-tools-extra] Symbol tags in SymbolInformation, WorkspaceSymbol, CallHierarchyItem and TypeHierarchyItem (PR #170103)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 25 05:33:13 PDT 2026
================
@@ -246,6 +246,7 @@ template <> struct MappingTraits<Symbol> {
IO.mapOptional("Documentation", Sym.Documentation);
IO.mapOptional("ReturnType", Sym.ReturnType);
IO.mapOptional("Type", Sym.Type);
+ IO.mapOptional("Tags", Sym.Tags, clang::clangd::SymbolTags(0));
----------------
timon-ul wrote:
I think the default value here is obsolete, because the `Tags` is always initialized (with `0`).
https://github.com/llvm/llvm-project/pull/170103
More information about the cfe-commits
mailing list