[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 11:01:26 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa881fcafaa5a: [clangd] Make define outline code action visible (authored by kadircet).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72840/new/
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.238544.patch
Type: text/x-patch
Size: 579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200116/59d911d1/attachment-0001.bin>
More information about the cfe-commits
mailing list