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

Dimitri Ratz via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 30 07:07:14 PDT 2026


================
@@ -22,6 +23,15 @@ namespace clangd {
 
 LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE();
 
+/// A bitmask type representing symbol tags supported by LSP.
+/// \see
+/// https://microsoft.github.io/language-server-protocol/specifications/specification-current/#symbolTag
+using SymbolTags = uint32_t;
----------------
ratzdi wrote:

I think I roughly understand your idea. Can we save this idea for later, when more scenarios are added and we could use them specifically for simplification? 

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


More information about the cfe-commits mailing list