[clang-tools-extra] a881fca - [clangd] Make define outline code action visible
Kadir Cetinkaya via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 16 10:56:21 PST 2020
Author: Kadir Cetinkaya
Date: 2020-01-16T19:55:02+01:00
New Revision: a881fcafaa5af545b049c5fd69ccaf9c93196640
URL: https://github.com/llvm/llvm-project/commit/a881fcafaa5af545b049c5fd69ccaf9c93196640
DIFF: https://github.com/llvm/llvm-project/commit/a881fcafaa5af545b049c5fd69ccaf9c93196640.diff
LOG: [clangd] Make define outline code action visible
Summary: This got forgotten during the process.
Reviewers: sammccall, usaxena95
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72840
Added:
Modified:
clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
Removed:
################################################################################
diff --git a/clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp b/clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
index 6d27149ef6d4..a6fcc72e6489 100644
--- a/clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
+++ b/clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
@@ -299,7 +299,7 @@ class DefineOutline : public Tweak {
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.";
More information about the cfe-commits
mailing list