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

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


njames93 updated this revision to Diff 311215.
njames93 marked an inline comment as done.
njames93 added a comment.

Remove changes to internal infrastructure.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93113/new/

https://reviews.llvm.org/D93113

Files:
  clang-tools-extra/clangd/SemanticHighlighting.cpp


Index: clang-tools-extra/clangd/SemanticHighlighting.cpp
===================================================================
--- clang-tools-extra/clangd/SemanticHighlighting.cpp
+++ clang-tools-extra/clangd/SemanticHighlighting.cpp
@@ -571,7 +571,7 @@
   case HighlightingKind::Enum:
     return "enum";
   case HighlightingKind::EnumConstant:
-    return "enumConstant"; // nonstandard
+    return "enumMember";
   case HighlightingKind::Typedef:
     return "type";
   case HighlightingKind::DependentType:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93113.311215.patch
Type: text/x-patch
Size: 510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201211/43ca0fad/attachment.bin>


More information about the cfe-commits mailing list