[PATCH] D129595: [clangd] Enable designator inlay hints by default.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 12 14:08:26 PDT 2022


sammccall created this revision.
sammccall added a reviewer: kadircet.
Herald added subscribers: usaxena95, arphaman.
Herald added a project: All.
sammccall requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129595

Files:
  clang-tools-extra/clangd/Config.h


Index: clang-tools-extra/clangd/Config.h
===================================================================
--- clang-tools-extra/clangd/Config.h
+++ clang-tools-extra/clangd/Config.h
@@ -29,7 +29,6 @@
 #include "llvm/ADT/Optional.h"
 #include "llvm/ADT/StringMap.h"
 #include "llvm/ADT/StringSet.h"
-#include "llvm/Support/Regex.h"
 #include <functional>
 #include <string>
 #include <vector>
@@ -139,7 +138,7 @@
     // Whether specific categories of hints are enabled.
     bool Parameters = true;
     bool DeducedTypes = true;
-    bool Designators = false;
+    bool Designators = true;
   } InlayHints;
 };
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129595.444081.patch
Type: text/x-patch
Size: 617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220712/a6ace65e/attachment.bin>


More information about the cfe-commits mailing list