================
@@ -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;
+/// Ensure we have enough bits to represent all SymbolTag values.
+static_assert(static_cast<unsigned>(SymbolTag::LastTag) <= 32,
----------------
ratzdi wrote:
done.
https://github.com/llvm/llvm-project/pull/170103
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits