Author: Sam McCall
Date: 2022-07-13T16:31:45+02:00
New Revision: 6b50f2bbdbf4c5a8961ddf0dc82dae186cab0fd4

URL: 
https://github.com/llvm/llvm-project/commit/6b50f2bbdbf4c5a8961ddf0dc82dae186cab0fd4
DIFF: 
https://github.com/llvm/llvm-project/commit/6b50f2bbdbf4c5a8961ddf0dc82dae186cab0fd4.diff

LOG: [clangd] Enable designator inlay hints by default.

Differential Revision: https://reviews.llvm.org/D129595

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/Config.h 
b/clang-tools-extra/clangd/Config.h
index 312ca3b7af90a..b34f96bc1206a 100644
--- a/clang-tools-extra/clangd/Config.h
+++ b/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 @@ struct Config {
     // Whether specific categories of hints are enabled.
     bool Parameters = true;
     bool DeducedTypes = true;
-    bool Designators = false;
+    bool Designators = true;
   } InlayHints;
 };
 


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to