[PATCH] D88726: [clangd] Make PopulateSwitch a fix.
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 2 04:24:37 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG57ac47d78885: [clangd] Make PopulateSwitch a fix. (authored by sammccall).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88726/new/
https://reviews.llvm.org/D88726
Files:
clang-tools-extra/clangd/refactor/tweaks/PopulateSwitch.cpp
Index: clang-tools-extra/clangd/refactor/tweaks/PopulateSwitch.cpp
===================================================================
--- clang-tools-extra/clangd/refactor/tweaks/PopulateSwitch.cpp
+++ clang-tools-extra/clangd/refactor/tweaks/PopulateSwitch.cpp
@@ -53,7 +53,7 @@
Expected<Effect> apply(const Selection &Sel) override;
std::string title() const override { return "Populate switch"; }
llvm::StringLiteral kind() const override {
- return CodeAction::REFACTOR_KIND;
+ return CodeAction::QUICKFIX_KIND;
}
private:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88726.295787.patch
Type: text/x-patch
Size: 549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201002/48b899a7/attachment.bin>
More information about the cfe-commits
mailing list