[PATCH] D80507: [clangd] Enable cross-file-rename by default.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 25 02:06:38 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG72c5ea1d73bb: [clangd] Enable cross-file-rename by default. (authored by hokein).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80507

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


Index: clang-tools-extra/clangd/tool/ClangdMain.cpp
===================================================================
--- clang-tools-extra/clangd/tool/ClangdMain.cpp
+++ clang-tools-extra/clangd/tool/ClangdMain.cpp
@@ -274,11 +274,8 @@
 opt<bool> CrossFileRename{
     "cross-file-rename",
     cat(Features),
-    desc("Enable cross-file rename feature. Note that this feature is "
-         "experimental and may lead to broken code or incomplete rename "
-         "results"),
-    init(false),
-    Hidden,
+    desc("Enable cross-file rename feature."),
+    init(true),
 };
 
 opt<bool> RecoveryAST{


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80507.265979.patch
Type: text/x-patch
Size: 609 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200525/fffc8a18/attachment-0001.bin>


More information about the cfe-commits mailing list