[clangd] Hide "swap if branch" tweak

This tweak is more like a demo, and doesn't provide much value in
practice.

Differential Revision: https://reviews.llvm.org/D85318
This commit is contained in:
Haojian Wu 2020-08-05 20:03:21 +02:00
parent 2143a90b34
commit 9a7b8b22a7
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ public:
Expected<Effect> apply(const Selection &Inputs) override;
std::string title() const override { return "Swap if branches"; }
Intent intent() const override { return Refactor; }
bool hidden() const override { return true; }
private:
const IfStmt *If = nullptr;