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

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 13 07:32:15 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG6b50f2bbdbf4: [clangd] Enable designator inlay hints by default. (authored by sammccall).

Repository:
  rG LLVM Github Monorepo

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

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.444255.patch
Type: text/x-patch
Size: 617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220713/fe5f476d/attachment.bin>


More information about the cfe-commits mailing list