[PATCH] D93113: [clangd] Use enumMember instead of enumConstant

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 11 05:58:06 PST 2020


njames93 created this revision.
njames93 added reviewers: sammccall, hokein.
Herald added subscribers: usaxena95, kadircet, arphaman.
njames93 requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang.

We should be using enumMember as thats defined in LSP, enumConstant is non standard so clients aren't likely to support it
Fixes https://github.com/clangd/clangd/issues/622n


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93113

Files:
  clang-tools-extra/clangd/SemanticHighlighting.cpp
  clang-tools-extra/clangd/SemanticHighlighting.h
  clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93113.311203.patch
Type: text/x-patch
Size: 5057 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201211/528231cc/attachment-0001.bin>


More information about the cfe-commits mailing list