[clang-tools-extra] 00d97b7 - [clangd] Config: on by default

Sam McCall via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 14 12:44:36 PDT 2020


Author: Sam McCall
Date: 2020-07-14T21:44:25+02:00
New Revision: 00d97b758e8d3286abb7bd07899e4d3aed6e8165

URL: https://github.com/llvm/llvm-project/commit/00d97b758e8d3286abb7bd07899e4d3aed6e8165
DIFF: https://github.com/llvm/llvm-project/commit/00d97b758e8d3286abb7bd07899e4d3aed6e8165.diff

LOG: [clangd] Config: on by default

Summary: (Possible to flip back on the branch if this breaks things)

Reviewers: kadircet

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

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

Added: 
    

Modified: 
    clang-tools-extra/clangd/tool/ClangdMain.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/tool/ClangdMain.cpp b/clang-tools-extra/clangd/tool/ClangdMain.cpp
index 780495530856..7bce1c062e81 100644
--- a/clang-tools-extra/clangd/tool/ClangdMain.cpp
+++ b/clang-tools-extra/clangd/tool/ClangdMain.cpp
@@ -446,7 +446,7 @@ opt<bool> EnableConfig{
         "\tMac OS: ~/Library/Preferences/\n"
         "\tOthers: $XDG_CONFIG_HOME, usually ~/.config\n"
         "Configuration is documented at https://clangd.llvm.org/config.html"),
-    init(false),
+    init(true),
 };
 
 /// Supports a test URI scheme with relaxed constraints for lit tests.


        


More information about the cfe-commits mailing list