[PATCH] D72840: [clangd] Make define outline code action visible
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 16 06:38:12 PST 2020
kadircet created this revision.
kadircet added reviewers: sammccall, usaxena95.
Herald added subscribers: cfe-commits, arphaman, jkorous, MaskRay, ilya-biryukov.
Herald added a project: clang.
This got forgotten during the process.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D72840
Files:
clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
Index: clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
===================================================================
--- clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
+++ clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
@@ -299,7 +299,7 @@
public:
const char *id() const override;
- bool hidden() const override { return true; }
+ bool hidden() const override { return false; }
Intent intent() const override { return Intent::Refactor; }
std::string title() const override {
return "Move function body to out-of-line.";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72840.238480.patch
Type: text/x-patch
Size: 579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200116/283afd3c/attachment.bin>
More information about the cfe-commits
mailing list